@seedcord/eslint-config
v2.2.1
Published
Shared ESLint config for seedcord projects
Maintainers
Readme
About
@seedcord/eslint-config is the flat ESLint config seedcord projects run. createConfig builds the whole setup, and two options turn on the seedcord rules and the discord.js rules:
registerSeedcordPluginapplies@seedcord/eslint-plugin's recommended presetregisterDiscordjsPluginapplieseslint-plugin-discordjs's recommended preset
create-seedcord writes a config that uses this.
Until v1.0.0, minor versions can break.
Installation
pnpm add -D @seedcord/eslint-configUsage
// eslint.config.js
import createConfig from '@seedcord/eslint-config';
export default createConfig({
registerSeedcordPlugin: true,
registerDiscordjsPlugin: true
});@seedcord/eslint-config/prettier holds the matching Prettier config.
