@cto.af/eslint-config 6.2.2 → 6.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/ts.js +2 -2
package/package.json
CHANGED
package/rules/ts.js
CHANGED
|
@@ -279,7 +279,7 @@ export const rules = {
|
|
|
279
279
|
],
|
|
280
280
|
'@typescript-eslint/no-use-before-define': 'error',
|
|
281
281
|
'@typescript-eslint/no-useless-constructor': 'error',
|
|
282
|
-
'@typescript-eslint/no-useless-default-assignment': '
|
|
282
|
+
'@typescript-eslint/no-useless-default-assignment': 'off', // I prefer both belt and suspenders
|
|
283
283
|
'@typescript-eslint/no-useless-empty-export': 'error',
|
|
284
284
|
'@typescript-eslint/no-wrapper-object-types': 'error', // Turn off in cbor projects
|
|
285
285
|
'@typescript-eslint/non-nullable-type-assertion-style': 'off', // Can't config
|
|
@@ -311,7 +311,7 @@ export const rules = {
|
|
|
311
311
|
'@typescript-eslint/restrict-template-expressions': 'off', // Can't config
|
|
312
312
|
'@typescript-eslint/return-await': 'error',
|
|
313
313
|
'@typescript-eslint/strict-boolean-expressions': 'off', // Can't config
|
|
314
|
-
'@typescript-eslint/strict-void-return': '
|
|
314
|
+
'@typescript-eslint/strict-void-return': 'off', // Can't configure to except event handlers
|
|
315
315
|
'@typescript-eslint/switch-exhaustiveness-check': 'off', // Can't config
|
|
316
316
|
'@typescript-eslint/triple-slash-reference': 'error',
|
|
317
317
|
// Deprecated
|