Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Tell eslint to enforce Control Flow syntax

Alexander Brandon Coles7a3589853a18
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index 4ce4eaaf01c..03de8f9c3f7 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -150,7 +150,8 @@ export default defineConfig([
'@angular-eslint/template/elements-content': [
'error',
{ 'allowList': ['textContent'] }
- ]
+ ],
+ '@angular-eslint/template/prefer-control-flow': 'error'
}
},
{