Skip to content

Commit 6c48297

Browse files
committed
Added files to JS config + moved js.configs.recommended inside for readability
1 parent 5c04bdf commit 6c48297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import globals from 'globals'
33
import json from 'eslint-plugin-json'
44

55
export default [
6-
js.configs.recommended,
76
{ ignores: ['**/*.min.js'] },
87
{
8+
files: ['**/*.js', '**/*.mjs'], ...js.configs.recommended,
99
rules: {
1010
'indent': 'off', 'no-unexpected-multiline': 'off', 'key-spacing': 'off', // allow whitespace anywhere
1111
'quotes': ['error', 'single'], // enforce single quotes for string literals

0 commit comments

Comments
 (0)