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}
*/
module.exports = {
root: true,
extends: './configs/node.js',
ignorePatterns: [ '/example/wrong.*' ],
overrides: [ {
files: [ './example/correct.svelte' ],
files: [ './example/*.svelte' ],
overrides: svelteConfig.overrides,
parserOptions: svelteConfig.parserOptions,
env: svelteConfig.env,

View File

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