Skip to content

Commit

Permalink
Update eslint-rule-tester.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Apr 17, 2024
1 parent 94254b4 commit f555466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/eslint-rule-tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const defaultConfig = {
languageOptions: {
ecmaVersion: 6,
sourceType: "commonjs",
// TODO: remove global.es2105 when dropping eslint v8 -- it has been fixed in eslint v9
// see: https://github.com/eslint/eslint/commit/0db676f9c64d2622ada86b653136d2bda4f0eee0
globals: { ...globals.es2015, ...globals.node },
},
}
Expand Down

0 comments on commit f555466

Please sign in to comment.