Skip to content

Commit 205f59e

Browse files
renovate[bot]Amxxcairoeth
authored
Update dependency eslint to v9 (#4996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois <[email protected]> Co-authored-by: cairo <[email protected]>
1 parent 29f4059 commit 205f59e

20 files changed

+310
-228
lines changed

.eslintrc

-20
This file was deleted.

eslint.config.mjs

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import js from '@eslint/js';
2+
import { includeIgnoreFile } from '@eslint/compat';
3+
import prettier from 'eslint-config-prettier';
4+
import globals from 'globals';
5+
import path from 'path';
6+
7+
export default [
8+
js.configs.recommended,
9+
prettier,
10+
{
11+
languageOptions: {
12+
ecmaVersion: 2022,
13+
globals: {
14+
...globals.browser,
15+
...globals.mocha,
16+
...globals.node,
17+
artifacts: 'readonly',
18+
contract: 'readonly',
19+
web3: 'readonly',
20+
extendEnvironment: 'readonly',
21+
expect: 'readonly',
22+
},
23+
},
24+
},
25+
includeIgnoreFile(path.resolve(import.meta.dirname, '.gitignore')),
26+
];

0 commit comments

Comments
 (0)