mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
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:
@@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user