CreateConfigOptions
interface CreateConfigOptionsinterface CreateConfigOptions- optional
generalIgnores
Additional glob patterns to extend the shared ignore list
- optional
mdxFiles
File globs to lint as MDX (typically every .mdx.mdx). Registers the eslint-mdxeslint-mdx parser + mdxmdx plugin and runs no-unused-expressionsno-unused-expressions on embedded JS/JSX. Does not lint markdown prose.
- optional
registerImportPlugin
Toggle registration of the eslint-plugin-import-xeslint-plugin-import-x plugin
- optional
registerPrettierPlugin
Toggle registration of the eslint-plugin-prettiereslint-plugin-prettier plugin
- optional
registerSecurityPlugin
Toggle registration of the eslint-plugin-securityeslint-plugin-security plugin
- optional
registerTsdocPlugin
Toggle registration of the eslint-plugin-tsdoceslint-plugin-tsdoc plugin
- optional
registerTypescriptConfigs
Toggle registration of TypeScript ESLint configs
- optional
registerUnicornPlugin
Toggle registration of the eslint-plugin-unicorneslint-plugin-unicorn plugin. unicorn requires eslint =10.4, so consumers still on eslint 9 must set this to falsefalse.
- optional
tailwindCalleeFunctions
Function names whose string arguments are scanned for non-canonical Tailwind classes. The twtw tagged template is handled by tailwindTaggedTemplatestailwindTaggedTemplates.
['cn']
- optional
tailwindEntryPoint
Absolute path to the consumer's Tailwind entry CSS (@import 'tailwindcss'@import 'tailwindcss'). When set, the canonical-class rules run as warnwarn, off when omitted. Shared packages without a globals.cssglobals.css can pass a sibling app's entry via resolveSharedTailwindEntryresolveSharedTailwindEntry. Requires tailwindcsstailwindcss.
- optional
tailwindTaggedTemplates
Tagged-template names whose content is scanned for non-canonical Tailwind classes. Only better-tailwindcssbetter-tailwindcss supports tagged templates.
['tw']
- optional
tsconfigRootDir
Root directory for TypeScript configuration
- optional
userConfigs
Additional user-defined ESLint configuration items to merge
userConfigs: FlatConfigItem[]userConfigs: FlatConfigItem[]