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.
1 parent e8d38bc commit 2f327d4Copy full SHA for 2f327d4
packages/eslint-config-typescript/src/base.ts
@@ -130,7 +130,13 @@ export const eslintConfigTypescriptBase: Linter.BaseConfig = {
130
'@typescript-eslint/no-empty-function': 'warn',
131
// Disallow unnecessary parentheses.
132
'no-extra-parens': 'off',
133
- '@typescript-eslint/no-extra-parens': 'warn',
+ '@typescript-eslint/no-extra-parens': [
134
+ 'warn',
135
+ 'all',
136
+ {
137
+ ignoreJSX: 'multi-line',
138
+ },
139
+ ],
140
// Disallow unnecessary semicolons.
141
'no-extra-semi': 'off',
142
'@typescript-eslint/no-extra-semi': 'warn',
0 commit comments