Skip to content

Commit 0f14abd

Browse files
[ERSSUP-84813]-[FV]-[Migrate eslint config for version 9.x]-[DMW]
1 parent 690872e commit 0f14abd

File tree

4 files changed

+53
-25
lines changed

4 files changed

+53
-25
lines changed

sandbox/eslint.config.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// eslint.config.js
2+
3+
const { configs } = require('@eslint/js');
4+
const globals = require('globals');
5+
6+
module.exports = [
7+
configs.recommended,
8+
{
9+
languageOptions: {
10+
ecmaVersion: 2018,
11+
globals: {
12+
...globals.commonjs,
13+
...globals.es6,
14+
...globals.node,
15+
Atomics: "readonly",
16+
SharedArrayBuffer: "readonly",
17+
},
18+
},
19+
rules: {
20+
},
21+
},
22+
]

sandbox/package-lock.json

Lines changed: 29 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sandbox/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"lodash": "^4.17.20"
1818
},
1919
"devDependencies": {
20-
"eslint": "^9.25.1"
20+
"eslint": "^9.25.1",
21+
"globals": "^16.1.0"
2122
}
2223
}

sandbox/src/.eslintrc.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)