Skip to content

Commit 67fef39

Browse files
Merge pull request #2262 from NHSDigital/feature/ERSSUP-84813
Migrate eslint config to 9.x
2 parents b6c4d87 + 0f14abd commit 67fef39

File tree

4 files changed

+432
-592
lines changed

4 files changed

+432
-592
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+
]

0 commit comments

Comments
 (0)