mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-10-19 15:26:33 +00:00
fix(eslint): ignore no-undef
This commit is contained in:
parent
f2e2d67668
commit
69b19da6aa
1 changed files with 7 additions and 0 deletions
|
|
@ -86,5 +86,12 @@ export default defineConfig([
|
|||
"@typescript-eslint/no-unused-expressions": 'off',
|
||||
'mocha/max-top-level-suites': 'off'
|
||||
},
|
||||
},
|
||||
{
|
||||
// https://typescript-eslint.io/troubleshooting/faqs/eslint#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
|
||||
files: ['**/*.{ts,tsx,mts,cts}'],
|
||||
rules: {
|
||||
'no-undef': 'off',
|
||||
}
|
||||
}
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue