mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
lint(eslint): strict boolean expressions now error (#25961)
This commit is contained in:
@ -32,7 +32,7 @@ module.exports = {
|
|||||||
"@typescript-eslint/no-non-null-assertion": "off",
|
"@typescript-eslint/no-non-null-assertion": "off",
|
||||||
"no-case-declarations": "off",
|
"no-case-declarations": "off",
|
||||||
"@typescript-eslint/strict-boolean-expressions": [
|
"@typescript-eslint/strict-boolean-expressions": [
|
||||||
"warn",
|
"error",
|
||||||
{
|
{
|
||||||
"allowNullableBoolean": true,
|
"allowNullableBoolean": true,
|
||||||
"allowNullableString": true,
|
"allowNullableString": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user