We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
defineNuxtConfig
1 parent 58f173c commit 2e67f94Copy full SHA for 2e67f94
packages/eslint-config/src/configs/javascript.ts
@@ -24,6 +24,10 @@ export default function javascript(): Linter.Config[] {
24
document: 'readonly',
25
navigator: 'readonly',
26
window: 'readonly',
27
+
28
+ // This is technically not a global function, but it's a common practice in nuxt.config.ts,
29
+ // we include it here to avoid false positives.
30
+ defineNuxtConfig: 'readonly',
31
},
32
33
linterOptions: {
0 commit comments