|
|
@ -46,7 +46,6 @@ |
|
|
|
"no-floating-decimal": "error", |
|
|
|
"no-implicit-coercion": "error", |
|
|
|
"no-implied-eval": "error", |
|
|
|
// Turn off until fix for: https://github.com/typescript-eslint/typescript-eslint/issues/239 |
|
|
|
"no-inner-declarations": "off", |
|
|
|
"no-lone-blocks": "error", |
|
|
|
"no-lonely-if": "error", |
|
|
@ -115,6 +114,7 @@ |
|
|
|
"no-throw-literal": "error", |
|
|
|
"no-unmodified-loop-condition": "warn", |
|
|
|
"no-unneeded-ternary": "error", |
|
|
|
"no-unused-expressions": "error", |
|
|
|
"no-use-before-define": "off", |
|
|
|
"no-useless-call": "error", |
|
|
|
"no-useless-catch": "error", |
|
|
@ -136,6 +136,7 @@ |
|
|
|
], |
|
|
|
"prefer-numeric-literals": "error", |
|
|
|
"prefer-object-spread": "error", |
|
|
|
"prefer-promise-reject-errors": ["error", { "allowEmptyReject": true }], |
|
|
|
"prefer-rest-params": "error", |
|
|
|
"prefer-spread": "error", |
|
|
|
"prefer-template": "error", |
|
|
@ -153,10 +154,7 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"yoda": "error", |
|
|
|
"import/export": "off", |
|
|
|
"import/extensions": ["error", "never"], |
|
|
|
"import/named": "off", |
|
|
|
"import/namespace": "off", |
|
|
|
"import/newline-after-import": "warn", |
|
|
|
"import/no-absolute-path": "error", |
|
|
|
"import/no-cycle": "off", |
|
|
|