Skip to content

Commit

Permalink
Added files to JS config + moved js.configs.recommended inside fo…
Browse files Browse the repository at this point in the history
…r readability
  • Loading branch information
adamlui committed Nov 13, 2024
1 parent 5c04bdf commit 6c48297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import globals from 'globals'
import json from 'eslint-plugin-json'

export default [
js.configs.recommended,
{ ignores: ['**/*.min.js'] },
{
files: ['**/*.js', '**/*.mjs'], ...js.configs.recommended,
rules: {
'indent': 'off', 'no-unexpected-multiline': 'off', 'key-spacing': 'off', // allow whitespace anywhere
'quotes': ['error', 'single'], // enforce single quotes for string literals
Expand Down

0 comments on commit 6c48297

Please sign in to comment.