Skip to content

Commit

Permalink
Moved JS files + ...js.configs.recommended to correct level
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Nov 13, 2024
1 parent 2446f4c commit 0d19c5a
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 @@ -4,8 +4,8 @@ import markdown from '@eslint/markdown'

export default [
{
files: ['**/*.js', '**/*.mjs'], ...js.configs.recommended,
rules: {
files: ['**/*.js', '**/*.mjs'], ...js.configs.recommended,
'indent': 'off', 'no-unexpected-multiline': 'off', 'key-spacing': 'off', // allow whitespace anywhere
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }], // enforce single quotes except backticks to avoid escaping quotes
'comma-dangle': ['error', 'never'], // enforce no trailing commas in arrays or objects
Expand Down

0 comments on commit 0d19c5a

Please sign in to comment.