Skip to content

Commit 1aa9fae

Browse files
[DURACOM-307] add eslint rule to enforce control flow
1 parent b1eb4a8 commit 1aa9fae

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@
294294
"rules": {
295295
// Custom DSpace Angular rules
296296
"dspace-angular-html/themed-component-usages": "error",
297-
"dspace-angular-html/no-disabled-attribute-on-button": "error"
297+
"dspace-angular-html/no-disabled-attribute-on-button": "error",
298+
"@angular-eslint/template/prefer-control-flow": "error"
298299
}
299300
},
300301
{

0 commit comments

Comments
 (0)