Skip to content

Commit 18f372d

Browse files
committed
style: eslint: allow unused vars
1 parent c0636d5 commit 18f372d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

eslint.config.mjs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
// @ts-check
2-
import withNuxt from './.nuxt/eslint.config.mjs'
2+
import withNuxt from "./.nuxt/eslint.config.mjs";
33

44
export default withNuxt(
55
// Your custom configs here
6-
)
6+
{
7+
rules: {
8+
// Allow unused vars. Note: you must disable the base rule as it can report incorrect errors
9+
"no-unused-vars": "off",
10+
"@typescript-eslint/no-unused-vars": "off",
11+
},
12+
},
13+
);

0 commit comments

Comments
 (0)