feat(typescript): Rule "strict-boolean-expressions"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
f49a9ddf66
commit
d7fea402cf
@ -406,7 +406,7 @@
|
|||||||
- [ ] "return-await"
|
- [ ] "return-await"
|
||||||
- [X] "semi"
|
- [X] "semi"
|
||||||
- [ ] "space-before-function-paren"
|
- [ ] "space-before-function-paren"
|
||||||
- [ ] "strict-boolean-expressions"
|
- [X] "strict-boolean-expressions"
|
||||||
- [ ] "switch-exhaustiveness-check"
|
- [ ] "switch-exhaustiveness-check"
|
||||||
- [ ] "triple-slash-reference"
|
- [ ] "triple-slash-reference"
|
||||||
- [ ] "type-annotation-spacing"
|
- [ ] "type-annotation-spacing"
|
||||||
|
@ -61,6 +61,14 @@
|
|||||||
"omitLastInOneLineBlock": false
|
"omitLastInOneLineBlock": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/strict-boolean-expressions": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowNullable": false,
|
||||||
|
"allowSafe": false,
|
||||||
|
"ignoreRhs": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user