ESLint: enforce Angular HTML no-negated-async

https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/docs/rules/no-negated-async.md

Prevents us from writing conditions that may pass/fail before an observable has emitted (this is likely to cause unexpected behaviour)
This commit is contained in:
Yury Bondarenko
2023-06-27 14:06:21 +02:00
parent 74e9e5fa14
commit fa2c22d240

View File

@@ -235,7 +235,6 @@
], ],
"rules": { "rules": {
// todo: re-enable & fix errors // todo: re-enable & fix errors
"@angular-eslint/template/no-negated-async": "off",
"@angular-eslint/template/eqeqeq": "off" "@angular-eslint/template/eqeqeq": "off"
} }
}, },