File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2020 "enhanced-resolve" : " ^5.15.0" ,
2121 "eslint-plugin-es-x" : " ^7.5.0" ,
2222 "get-tsconfig" : " ^4.7.0" ,
23- "globals" : " ^14 .0.0" ,
23+ "globals" : " ^15 .0.0" ,
2424 "ignore" : " ^5.2.4" ,
2525 "minimatch" : " ^9.0.0" ,
2626 "semver" : " ^7.5.3"
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ const defaultConfig = {
2323 languageOptions : {
2424 ecmaVersion : 6 ,
2525 sourceType : "commonjs" ,
26- globals : globals . node ,
26+ // TODO: remove global.es2105 when dropping eslint v8 -- it has been fixed in eslint v9
27+ // see: https://github.com/eslint/eslint/commit/0db676f9c64d2622ada86b653136d2bda4f0eee0
28+ globals : { ...globals . es2015 , ...globals . node } ,
2729 } ,
2830}
2931exports . RuleTester = function ( config = defaultConfig ) {
You can’t perform that action at this time.
0 commit comments