mirror of
https://github.com/garraflavatra/yeslint.git
synced 2025-01-18 11:27:59 +00:00
Disabled array-element-newline
This commit is contained in:
parent
9055dde0ae
commit
945a539178
@ -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,
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user