Skip to content

Commit

Permalink
chore: update EsLint preset (#3032)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade authored Jan 24, 2025
1 parent 0d04e0b commit a18cd6f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ export default [
},

languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',

globals: {
...globals.browser,
...globals.mocha,
Expand Down Expand Up @@ -165,8 +168,8 @@ export default [
},

languageOptions: {
ecmaVersion: 5,
sourceType: 'script',
ecmaVersion: 'latest',
sourceType: 'module',

parserOptions: {
project: './tsconfig.base.json',
Expand Down

0 comments on commit a18cd6f

Please sign in to comment.