feat(typescript): Rule "strict-boolean-expressions"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-13 22:56:47 +04:00
parent f49a9ddf66
commit d7fea402cf
2 changed files with 9 additions and 1 deletions

View File

@ -61,6 +61,14 @@
"omitLastInOneLineBlock": false
}
],
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowNullable": false,
"allowSafe": false,
"ignoreRhs": false
}
],
"indent": [
"off"
],