Skip to content

Commit dc32685

Browse files
committed
πŸ‘¨β€πŸ”¬ ESLint: rules update
1 parent 8882173 commit dc32685

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ export default [
4242
varsIgnorePattern: '^_',
4343
},
4444
],
45-
'@typescript-eslint/member-delimiter-style': [
45+
'@stylistic/member-delimiter-style': [
4646
'error',
4747
{
4848
multiline: { delimiter: 'semi', requireLast: true },
4949
singleline: { delimiter: 'semi', requireLast: false },
5050
multilineDetection: 'brackets',
5151
},
5252
],
53-
'@typescript-eslint/type-annotation-spacing': 'error',
53+
'@stylistic/type-annotation-spacing': 'error',
5454
'@typescript-eslint/no-use-before-define': [2, 'nofunc'],
5555
strict: [2, 'never'],
5656
'no-shadow-restricted-names': 2,
@@ -112,7 +112,7 @@ export default [
112112
'@stylistic/wrap-iife': [2, 'any'],
113113
'@stylistic/indent': [2, 2],
114114
'@stylistic/brace-style': [2, '1tbs', { allowSingleLine: true }],
115-
'@stylistic/quotes': [2, 'single', 'avoid-escape'],
115+
'@stylistic/quotes': [2, 'single', { avoidEscape: true }],
116116
'@stylistic/comma-spacing': [2, { before: false, after: true }],
117117
'@stylistic/comma-style': [2, 'last'],
118118
'@stylistic/eol-last': 2,
@@ -161,21 +161,13 @@ export default [
161161
{ allowAllPropertiesOnSameLine: false },
162162
],
163163
'@stylistic/array-bracket-spacing': ['error', 'never'],
164-
'@stylistic/array-bracket-newline': [
165-
'error',
166-
{ multiline: true, minItems: 3 },
167-
],
168-
'@stylistic/newline-per-chained-call': [
169-
'error',
170-
{ ignoreChainWithDepth: 2 },
171-
],
164+
'@stylistic/array-bracket-newline': ['error', 'never'],
172165
'@stylistic/operator-linebreak': [
173166
'error',
174167
'before',
175168
{ overrides: { '=': 'after' } },
176169
],
177170
'@stylistic/template-curly-spacing': ['error', 'never'],
178-
'@stylistic/func-call-spacing': ['error', 'never'],
179171
},
180172
},
181173
];

0 commit comments

Comments
Β (0)