From 1aa9faeb2f95862c9a18196d9e92674d2cc93e3b Mon Sep 17 00:00:00 2001 From: FrancescoMolinaro Date: Fri, 7 Feb 2025 17:07:32 +0100 Subject: [PATCH] [DURACOM-307] add eslint rule to enforce control flow --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 888c968b5c..6ee63b269f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -294,7 +294,8 @@ "rules": { // Custom DSpace Angular rules "dspace-angular-html/themed-component-usages": "error", - "dspace-angular-html/no-disabled-attribute-on-button": "error" + "dspace-angular-html/no-disabled-attribute-on-button": "error", + "@angular-eslint/template/prefer-control-flow": "error" } }, {