File tree Expand file tree Collapse file tree 4 files changed +154
-175
lines changed Expand file tree Collapse file tree 4 files changed +154
-175
lines changed Original file line number Diff line number Diff line change 28
28
"@types/node" : " ^22.13.1" ,
29
29
"chai" : " ^5.2.1" ,
30
30
"copy-webpack-plugin" : " ^13.0.0" ,
31
- "eslint" : " ^8.57.0 " ,
31
+ "eslint" : " ^9.30.1 " ,
32
32
"eslint-config-prettier" : " ^10.0.1" ,
33
33
"eslint-plugin-prettier" : " ^5.2.3" ,
34
34
"mocha" : " ^10.8.2" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ const globals = require ( 'globals' )
2
+ const prettierPlugin = require ( 'eslint-plugin-prettier' )
3
+ const prettierConfig = require ( 'eslint-config-prettier' )
4
+
5
+ module . exports = [
6
+ {
7
+ plugins : { prettier : prettierPlugin } ,
8
+ rules : {
9
+ 'prettier/prettier' : 'error' ,
10
+ } ,
11
+ languageOptions : {
12
+ ecmaVersion : 2022 ,
13
+ sourceType : 'module' ,
14
+ globals : {
15
+ ...globals . browser ,
16
+ ...globals . node ,
17
+ ...globals . es2021 ,
18
+ } ,
19
+ } ,
20
+ } ,
21
+ prettierConfig ,
22
+ ]
You can’t perform that action at this time.
0 commit comments