Interface: Eslintrc
Source: packages/wxt/src/types.ts:1699
Contents
Properties
enabled?
optionalenabled?:boolean|EslintConfigVersion|"auto"
Source: packages/wxt/src/types.ts:1713
Determines if and in what format a config file will be generated to inform ESLint of unimport globals.
true: If eslint is installed, generate a compatible config file based on the installed version.false: Never generate the file.8: Generate an eslintrc file compatible with ESLint <e; 8.9: Generate a flat config file compatible with ESLint >e; 9.'auto'(Deprecated): Same astrue.
Default
ts
truefilePath?
optionalfilePath?:string
Source: packages/wxt/src/types.ts:1722
File path to save the generated eslint config.
Default depends on version of ESLint used:
- >e; 9: './.wxt/eslint-auto-imports.mjs'
- <e; 8: './.wxt/eslintrc-auto-import.json'
globalsPropValue?
optionalglobalsPropValue?:EslintGlobalsPropValue
Source: packages/wxt/src/types.ts:1724
Default
ts
trueGenerated using typedoc-plugin-markdown and TypeDoc