File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -191,11 +191,14 @@ module.exports = {
191191 }
192192 ] ,
193193 '@typescript-eslint/member-ordering' : 'error' ,
194- '@typescript-eslint/method-signature-style' : 'error' ,
194+
195+ // Disabled for now as it causes too many weird TypeScript issues. I'm not sure whether the problems are caused by bugs in TS or problems in my types.
196+ // TODO: Try to re-enable this again in 2022.
197+ // '@typescript-eslint/method-signature-style': 'error',
198+
195199 // We use `@typescript-eslint/naming-convention` in favor of `camelcase`.
196200 camelcase : 'off' ,
197201 // TODO: Enable this again when the following is fixed:
198- // - https://github.com/typescript-eslint/typescript-eslint/issues/1483
199202 // - https://github.com/typescript-eslint/typescript-eslint/issues/1485
200203 // - https://github.com/typescript-eslint/typescript-eslint/issues/1484
201204 // TODO: Prevent `_` prefix on private fields when TypeScript 3.8 is out.
@@ -207,7 +210,12 @@ module.exports = {
207210 // 'strictCamelCase'
208211 // ],
209212 // leadingUnderscore: 'allow',
210- // trailingUnderscore: 'allow'
213+ // trailingUnderscore: 'allow',
214+ // // Ignore `{'Retry-After': retryAfter}` type properties.
215+ // filter: {
216+ // regex: '[- ]',
217+ // match: false
218+ // }
211219 // },
212220 // {
213221 // selector: 'typeLike',
You can’t perform that action at this time.
0 commit comments