We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e526697 commit ba4547eCopy full SHA for ba4547e
src/configs/typescript.ts
@@ -12,6 +12,7 @@ const baseConfig: Linter.Config = {
12
"dot-notation": "off",
13
"indent": "off",
14
"no-constant-condition": "off",
15
+ "no-extra-parens": "off",
16
"no-loop-func": "off",
17
"no-loss-of-precision": "off",
18
"no-shadow": "off",
src/plugins/typescript.ts
@@ -107,6 +107,13 @@ export const settings: Linter.Config = {
107
ignoreVoidOperator: true,
108
},
109
],
110
+ "@typescript-eslint/no-extra-parens": [
111
+ "error",
112
+ "all",
113
+ {
114
+ nestedBinaryExpressions: false,
115
+ },
116
+ ],
117
"@typescript-eslint/no-invalid-void-type": "error",
118
"@typescript-eslint/no-loop-func": "error",
119
"@typescript-eslint/no-loss-of-precision": "error",
0 commit comments