Skip to content

Commit 0852036

Browse files
committed
Update eslint.config.mjs
1 parent 369e0d5 commit 0852036

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

eslint.config.mjs

+10-15
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,24 @@ import globals from 'globals';
55
import neostandard, { plugins as neostdplugins } from 'neostandard';
66

77
export default [
8-
{
9-
ignores: ['src/lib', 'src/web-ext-config.cjs']
10-
},
11-
jsdoc.configs['flat/recommended'],
12-
regexp.configs['flat/recommended'],
138
...neostandard({
149
semi: true
1510
}),
11+
jsdoc.configs['flat/recommended'],
12+
regexp.configs['flat/recommended'],
1613
{
17-
plugins: {
18-
'@stylistic': neostdplugins['@stylistic'],
19-
'import-x': importX,
20-
regexp
14+
languageOptions: {
15+
globals: {
16+
...globals.node
17+
}
2118
},
2219
linterOptions: {
2320
reportUnusedDisableDirectives: true
2421
},
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
3126
},
3227
rules: {
3328
'@stylistic/space-before-function-paren': ['error', {

0 commit comments

Comments
 (0)