Skip to content

Commit

Permalink
Update eslint.config.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
asamuzaK committed Sep 29, 2024
1 parent 369e0d5 commit 0852036
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,24 @@ import globals from 'globals';
import neostandard, { plugins as neostdplugins } from 'neostandard';

export default [
{
ignores: ['src/lib', 'src/web-ext-config.cjs']
},
jsdoc.configs['flat/recommended'],
regexp.configs['flat/recommended'],
...neostandard({
semi: true
}),
jsdoc.configs['flat/recommended'],
regexp.configs['flat/recommended'],
{
plugins: {
'@stylistic': neostdplugins['@stylistic'],
'import-x': importX,
regexp
languageOptions: {
globals: {
...globals.node
}
},
linterOptions: {
reportUnusedDisableDirectives: true
},
languageOptions: {
globals: {
...globals.node
},
ecmaVersion: 'latest',
sourceType: 'module'
plugins: {
'@stylistic': neostdplugins['@stylistic'],
'import-x': importX,
regexp
},
rules: {
'@stylistic/space-before-function-paren': ['error', {
Expand Down

0 comments on commit 0852036

Please sign in to comment.