Skip to content

Commit

Permalink
Fix eslint jest testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ruihildt committed Oct 21, 2024
1 parent dae9b19 commit 253d2a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ export default [
browser: 'readonly',
es2021: 'readonly',
node: 'readonly',
process: 'readonly',
console: 'readonly',
describe: 'readonly',
it: 'readonly',
expect: 'readonly',
beforeEach: 'readonly',
afterEach: 'readonly',
jest: 'readonly',
},
},
plugins: {
Expand Down Expand Up @@ -57,6 +65,7 @@ export default [
...tsPlugin.configs.recommended.rules,
},
languageOptions: {
parser: vuePlugin.parserESLintParser,
globals: {
'vue/setup-compiler-macros': 'readonly',
},
Expand Down

0 comments on commit 253d2a9

Please sign in to comment.