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

Fix spurious eslint 'should have content' errors

Alexander Brandon Coles2934d5b4844e
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index 4b2dcdbd7fc..4ce4eaaf01c 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -146,6 +146,12 @@ export default defineConfig([
...angular.configs.templateRecommended,
...angular.configs.templateAccessibility,
],
+ rules: {
+ '@angular-eslint/template/elements-content': [
+ 'error',
+ { 'allowList': ['textContent'] }
+ ]
+ }
},
{
files: ['**/*.d.ts'],