We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
files
js.configs.recommended
1 parent fdc93fa commit bd57344Copy full SHA for bd57344
eslint.config.mjs
@@ -2,8 +2,8 @@ import js from '@eslint/js'
2
import json from 'eslint-plugin-json'
3
4
export default [
5
- js.configs.recommended,
6
{
+ files: ['**/*.js', '**/*.mjs'], ...js.configs.recommended,
7
rules: {
8
'indent': 'off', 'no-unexpected-multiline': 'off', 'key-spacing': 'off', // allow whitespace anywhere
9
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }], // enforce single quotes except backticks to avoid escaping quotes
0 commit comments