Skip to content

Commit

Permalink
fix(module): override @eslint/js config to keep the name consistent,
Browse files Browse the repository at this point in the history
…fix #408
  • Loading branch information
antfu committed Apr 25, 2024
1 parent e4a0aae commit 477ee5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config/src/flat/configs/javascript.ts
Expand Up @@ -6,6 +6,7 @@ import globals from 'globals'
export default function javascript(): Linter.FlatConfig[] {
return [
{
...pluginESLint.configs.recommended,
name: 'nuxt/javascript',
languageOptions: {
ecmaVersion: 2022,
Expand All @@ -29,7 +30,6 @@ export default function javascript(): Linter.FlatConfig[] {
linterOptions: {
reportUnusedDisableDirectives: true,
},
...pluginESLint.configs.recommended,
},
]
}

0 comments on commit 477ee5c

Please sign in to comment.