Skip to content

Commit 477ee5c

Browse files
committedApr 25, 2024·
fix(module): override @eslint/js config to keep the name consistent, fix #408
1 parent e4a0aae commit 477ee5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/eslint-config/src/flat/configs/javascript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import globals from 'globals'
66
export default function javascript(): Linter.FlatConfig[] {
77
return [
88
{
9+
...pluginESLint.configs.recommended,
910
name: 'nuxt/javascript',
1011
languageOptions: {
1112
ecmaVersion: 2022,
@@ -29,7 +30,6 @@ export default function javascript(): Linter.FlatConfig[] {
2930
linterOptions: {
3031
reportUnusedDisableDirectives: true,
3132
},
32-
...pluginESLint.configs.recommended,
3333
},
3434
]
3535
}

0 commit comments

Comments
 (0)
Please sign in to comment.