Disabled array-element-newline

This commit is contained in:
Romein van Buren 2023-08-07 18:12:46 +02:00
parent 9055dde0ae
commit 945a539178
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 3 additions and 1 deletions

View File

@ -9,10 +9,11 @@ const svelteConfig = require('./configs/svelte.js');
* @type {import('eslint').Linter.Config} * @type {import('eslint').Linter.Config}
*/ */
module.exports = { module.exports = {
root: true,
extends: './configs/node.js', extends: './configs/node.js',
ignorePatterns: [ '/example/wrong.*' ], ignorePatterns: [ '/example/wrong.*' ],
overrides: [ { overrides: [ {
files: [ './example/correct.svelte' ], files: [ './example/*.svelte' ],
overrides: svelteConfig.overrides, overrides: svelteConfig.overrides,
parserOptions: svelteConfig.parserOptions, parserOptions: svelteConfig.parserOptions,
env: svelteConfig.env, env: svelteConfig.env,

View File

@ -53,6 +53,7 @@ const generic = {
'error', 'error',
'always', 'always',
], ],
'array-element-newline': 'off',
'arrow-body-style': [ 'arrow-body-style': [
'error', 'error',
'as-needed', 'as-needed',