Skip to content

Commit 8338d1b

Browse files
committed
Update eslint config for latest version
1 parent 657af25 commit 8338d1b

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.eslintrc.json

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -140,32 +140,18 @@
140140
"no-prototype-builtins": ["off"],
141141
"import/extensions": ["error", "always", { "ts": "never" }],
142142
"@typescript-eslint/array-type": "error",
143-
"brace-style": "off",
144-
"@typescript-eslint/brace-style": ["error", "1tbs"],
145-
"comma-dangle": "off",
146-
"@typescript-eslint/comma-dangle": ["error", "never"],
147-
"comma-spacing": "off",
148-
"@typescript-eslint/comma-spacing": "error",
149143
"@typescript-eslint/consistent-type-assertions": "error",
150144
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
151145
"@typescript-eslint/consistent-type-imports": "error",
152146
"default-param-last": "off",
153147
"@typescript-eslint/default-param-last": "error",
154-
"func-call-spacing": "off",
155-
"@typescript-eslint/func-call-spacing": "error",
156-
"indent": "off",
157-
"@typescript-eslint/indent": ["error", 2, { "ignoreComments": true, "SwitchCase": 1 }],
158-
"keyword-spacing": "off",
159-
"@typescript-eslint/keyword-spacing": "error",
160148
"@typescript-eslint/method-signature-style": "error",
161149
"no-duplicate-imports": "off",
162150
"@typescript-eslint/no-base-to-string": "error",
163151
"@typescript-eslint/no-confusing-void-expression": "error",
164152
"no-loss-of-precision": "off",
165153
"@typescript-eslint/no-loss-of-precision": "error",
166154
"@typescript-eslint/no-meaningless-void-operator": "error",
167-
"no-throw-literal": "off",
168-
"@typescript-eslint/no-throw-literal": "error",
169155
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
170156
"@typescript-eslint/no-unnecessary-condition": "error",
171157
"@typescript-eslint/no-unnecessary-qualifier": "error",
@@ -180,22 +166,11 @@
180166
"no-unused-expressions": "off",
181167
"@typescript-eslint/no-unused-expressions": "error",
182168
"@typescript-eslint/non-nullable-type-assertion-style": "error",
183-
"object-curly-spacing": "off",
184-
"@typescript-eslint/object-curly-spacing": ["error", "always"],
185169
"@typescript-eslint/prefer-for-of": "error",
186170
"@typescript-eslint/prefer-reduce-type-parameter": "error",
187-
"quotes": "off",
188-
"@typescript-eslint/quotes": ["error", "double", { "allowTemplateLiterals": true }],
189171
"no-return-await": "off",
190172
"@typescript-eslint/require-await": ["off"],
191-
"@typescript-eslint/return-await": "error",
192-
"semi": "off",
193-
"@typescript-eslint/semi": ["error", "always"],
194-
"space-before-function-paren": "off",
195-
"@typescript-eslint/space-before-function-paren": ["error", { "named": "never" }],
196-
"space-infix-ops": "off",
197-
"@typescript-eslint/space-infix-ops": "error",
198-
"@typescript-eslint/type-annotation-spacing": "error"
173+
"@typescript-eslint/return-await": "error"
199174
}
200175
}
201176
]

0 commit comments

Comments
 (0)