Interface: Eslintrc
Contents
Properties
enabled
enabled?:
boolean|8|9|"auto"
When true, generates a file that can be used by ESLint to know which variables are valid globals.
false: Don't generate the file.'auto': Check if eslint is installed, and if it is, generate a compatible config file.true: Same as8.8: Generate a config file compatible with ESLint 8.9: Generate a config file compatible with ESLint 9.
Default
ts
'auto'Source
packages/wxt/src/types.ts:1436
filePath
filePath?:
string
File path to save the generated eslint config.
Default depends on version of ESLint used:
- 9 and above: './.wxt/eslint-auto-imports.mjs'
- 8 and below: './.wxt/eslintrc-auto-import.json'
Source
packages/wxt/src/types.ts:1444
globalsPropValue
globalsPropValue?:
EslintGlobalsPropValue
Default
ts
trueSource
packages/wxt/src/types.ts:1448
Generated using typedoc-plugin-markdown and TypeDoc