diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -406,7 +406,7 @@ - [ ] "return-await" - [X] "semi" - [ ] "space-before-function-paren" -- [ ] "strict-boolean-expressions" +- [X] "strict-boolean-expressions" - [ ] "switch-exhaustiveness-check" - [ ] "triple-slash-reference" - [ ] "type-annotation-spacing" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index d8596f5..40f5473 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -61,6 +61,14 @@ "omitLastInOneLineBlock": false } ], + "@typescript-eslint/strict-boolean-expressions": [ + "error", + { + "allowNullable": false, + "allowSafe": false, + "ignoreRhs": false + } + ], "indent": [ "off" ], |