File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11import { FlatCompat } from '@eslint/eslintrc'
2- const compat = new FlatCompat ( )
3-
42import eslintPluginLocal from './eslint-plugin-local/index.mjs'
53
4+ const compat = new FlatCompat ( )
5+
66export default [
77 // standard,
88 ...compat . extends ( 'eslint-config-standard' ) ,
99 {
1010 files : [ '**/**.js' , '**/**.mjs' ] ,
1111 languageOptions : {
1212 sourceType : 'module' ,
13- ecmaVersion : 'latest' ,
13+ ecmaVersion : 'latest'
1414 } ,
15- plugins : { ' local' : eslintPluginLocal } ,
15+ plugins : { local : eslintPluginLocal } ,
1616 rules : {
1717 /*
1818 This is inserted to make this compatible with prettier.
@@ -21,7 +21,7 @@ export default [
2121 'space-before-function-paren' : 0 ,
2222 curly : [ 2 , 'all' ] ,
2323 'local/no-big-int' : 'error' ,
24- 'no-undef' : 'warn' ,
25- } ,
26- } ,
24+ 'no-undef' : 'warn'
25+ }
26+ }
2727]
Original file line number Diff line number Diff line change 5656 "@babel/core" : " ^7.17.10" ,
5757 "@babel/plugin-proposal-nullish-coalescing-operator" : " ^7.16.7" ,
5858 "@babel/plugin-proposal-optional-chaining" : " ^7.16.7" ,
59+ "@eslint/eslintrc" : " ^3.2.0" ,
5960 "@rollup/plugin-commonjs" : " ^22.0.0" ,
6061 "@rollup/plugin-inject" : " ^4.0.4" ,
6162 "@rollup/plugin-node-resolve" : " ^13.3.0" ,
You can’t perform that action at this time.
0 commit comments