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.
...js.configs.recommended.rules
rules
1 parent d43a7bd commit 8900d3bCopy full SHA for 8900d3b
eslint.config.mjs
@@ -5,8 +5,9 @@ import eslintPluginYml from 'eslint-plugin-yml'
5
6
export default [
7
{
8
- files: ['**/*.js', '**/*.mjs'], ...js.configs.recommended,
+ files: ['**/*.js', '**/*.mjs'],
9
rules: {
10
+ ...js.configs.recommended.rules,
11
'indent': 'off', 'no-unexpected-multiline': 'off', 'key-spacing': 'off', // allow whitespace anywhere
12
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }], // enforce single quotes except backticks to avoid escaping quotes
13
'comma-dangle': ['error', 'never'], // enforce no trailing commas in arrays or objects
0 commit comments