File tree 1 file changed +10
-15
lines changed
1 file changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -5,29 +5,24 @@ import globals from 'globals';
5
5
import neostandard , { plugins as neostdplugins } from 'neostandard' ;
6
6
7
7
export default [
8
- {
9
- ignores : [ 'src/lib' , 'src/web-ext-config.cjs' ]
10
- } ,
11
- jsdoc . configs [ 'flat/recommended' ] ,
12
- regexp . configs [ 'flat/recommended' ] ,
13
8
...neostandard ( {
14
9
semi : true
15
10
} ) ,
11
+ jsdoc . configs [ 'flat/recommended' ] ,
12
+ regexp . configs [ 'flat/recommended' ] ,
16
13
{
17
- plugins : {
18
- '@stylistic' : neostdplugins [ '@stylistic' ] ,
19
- 'import-x' : importX ,
20
- regexp
14
+ languageOptions : {
15
+ globals : {
16
+ ... globals . node
17
+ }
21
18
} ,
22
19
linterOptions : {
23
20
reportUnusedDisableDirectives : true
24
21
} ,
25
- languageOptions : {
26
- globals : {
27
- ...globals . node
28
- } ,
29
- ecmaVersion : 'latest' ,
30
- sourceType : 'module'
22
+ plugins : {
23
+ '@stylistic' : neostdplugins [ '@stylistic' ] ,
24
+ 'import-x' : importX ,
25
+ regexp
31
26
} ,
32
27
rules : {
33
28
'@stylistic/space-before-function-paren' : [ 'error' , {
You can’t perform that action at this time.
0 commit comments