From fa2c22d2404b7da3edb3071ada5733c454c8429d Mon Sep 17 00:00:00 2001 From: Yury Bondarenko Date: Tue, 27 Jun 2023 14:06:21 +0200 Subject: [PATCH] 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) --- .eslintrc.json | 1 - 1 file changed, 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 84a7cc4bfa..faebd7a92d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -235,7 +235,6 @@ ], "rules": { // todo: re-enable & fix errors - "@angular-eslint/template/no-negated-async": "off", "@angular-eslint/template/eqeqeq": "off" } },