interface SeedcordConfigOptions extends CreateConfigOptions- optional
generalIgnores
Additional glob patterns to extend the shared ignore list
generalIgnores: string[]Inherited from:CreateConfigOptions
- optional
mdxFiles
File globs to lint as MDX (typically every .mdx). Registers the eslint-mdx parser + mdx plugin and runs no-unused-expressions on embedded JS/JSX. Does not lint markdown prose.
mdxFiles: string[]Inherited from:CreateConfigOptions
registerDiscordjsPlugin: boolean;Default:false
- optional
registerImportPlugin
How much of the eslint-plugin-import-x rule set to run. Drop to 'fast' when lint time matters more than catching import cycles and deprecated imports.
- optional
registerSecurityPlugin
Toggle registration of the eslint-plugin-security plugin
registerSeedcordPlugin: boolean;Default:false
- optional
registerTsdocPlugin
Toggle registration of the eslint-plugin-tsdoc plugin
- optional
registerTypescriptConfigs
Toggle registration of TypeScript ESLint configs. 'no-type-checked' keeps the presets and turns off the rules that read the type checker, the slowest ones in a run. The parser keeps its project either way, since the seedcord and discordjs rules read types of their own.
- optional
registerUnicornPlugin
Toggle registration of the eslint-plugin-unicorn plugin. unicorn requires eslint =10.4, so consumers still on eslint 9 must set this to false.
- optional
tailwindCalleeFunctions
Function names whose string arguments are scanned for non-canonical Tailwind classes. The tw tagged template is handled by tailwindTaggedTemplates.
['cn']
tailwindCalleeFunctions: string[]Inherited from:CreateConfigOptions
- optional
tailwindEntryPoint
Absolute path to the consumer's Tailwind entry CSS (@import 'tailwindcss'). When set, the canonical-class rules run as warn, off when omitted. Shared packages without a globals.css can pass a sibling app's entry via resolveSharedTailwindEntry. Requires tailwindcss.
tailwindEntryPoint: string;Inherited from:CreateConfigOptions
- optional
tailwindTaggedTemplates
Tagged-template names whose content is scanned for non-canonical Tailwind classes. Only better-tailwindcss supports tagged templates.
['tw']
tailwindTaggedTemplates: string[]Inherited from:CreateConfigOptions
- optional
tsconfigRootDir
Root directory for TypeScript configuration
- optional
userConfigs
Additional user-defined ESLint configuration items to merge
userConfigs: FlatConfigItem[]Inherited from:CreateConfigOptions