Skip to content

Commit

Permalink
Corrected eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
SunDevil311 committed Jan 23, 2025
1 parent 47f0102 commit 4f617a6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@ export default [
languageOptions: {
sourceType: "commonjs",
},
env: {
browser: true,
es6: true,
node: true,
mocha: true, // Add Mocha environment
},
parserOptions: {
ecmaVersion: 2020,
ecmaVersion: 2022,
},
globals: {
...globals.browser,
...globals.node,
...globals.es6,
...globals.mocha, // Add Mocha globals
},
// Note: there should be no other properties in this object
Expand Down

0 comments on commit 4f617a6

Please sign in to comment.