File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { FlatCompat } from '@eslint/eslintrc'
2
- const compat = new FlatCompat ( )
3
-
4
2
import eslintPluginLocal from './eslint-plugin-local/index.mjs'
5
3
4
+ const compat = new FlatCompat ( )
5
+
6
6
export default [
7
7
// standard,
8
8
...compat . extends ( 'eslint-config-standard' ) ,
9
9
{
10
10
files : [ '**/**.js' , '**/**.mjs' ] ,
11
11
languageOptions : {
12
12
sourceType : 'module' ,
13
- ecmaVersion : 'latest' ,
13
+ ecmaVersion : 'latest'
14
14
} ,
15
- plugins : { ' local' : eslintPluginLocal } ,
15
+ plugins : { local : eslintPluginLocal } ,
16
16
rules : {
17
17
/*
18
18
This is inserted to make this compatible with prettier.
@@ -21,7 +21,7 @@ export default [
21
21
'space-before-function-paren' : 0 ,
22
22
curly : [ 2 , 'all' ] ,
23
23
'local/no-big-int' : 'error' ,
24
- 'no-undef' : 'warn' ,
25
- } ,
26
- } ,
24
+ 'no-undef' : 'warn'
25
+ }
26
+ }
27
27
]
Original file line number Diff line number Diff line change 56
56
"@babel/core" : " ^7.17.10" ,
57
57
"@babel/plugin-proposal-nullish-coalescing-operator" : " ^7.16.7" ,
58
58
"@babel/plugin-proposal-optional-chaining" : " ^7.16.7" ,
59
+ "@eslint/eslintrc" : " ^3.2.0" ,
59
60
"@rollup/plugin-commonjs" : " ^22.0.0" ,
60
61
"@rollup/plugin-inject" : " ^4.0.4" ,
61
62
"@rollup/plugin-node-resolve" : " ^13.3.0" ,
You can’t perform that action at this time.
0 commit comments