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

Disable static class warns as this breaks services

Oliver Güntherc48cf8b9572d
diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js
index 5da06d9f04d..e006cfec5ac 100644
--- a/frontend/.eslintrc.js
+++ b/frontend/.eslintrc.js
@@ -133,8 +133,7 @@ module.exports = {
//////////////////////////////////////////////////////////////////////
// It's common in Angular to wrap even pure functions in classes for injection purposes
- // TODO: Should probably be turned off and pure unit tests should be used at some point
- "class-methods-use-this": "warn",
+ "class-methods-use-this": "off",
}
},
{