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

Allow single lines to be added without spaces

Oliver Günther5bd235beda26
diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js
index 7e2eefd7f71..007b661441c 100644
--- a/frontend/.eslintrc.js
+++ b/frontend/.eslintrc.js
@@ -104,6 +104,9 @@ module.exports = {
"no-use-before-define": ["error", { "functions": false, "classes": false }],
"@typescript-eslint/no-use-before-define": ["error", { "functions": false, "classes": false }],
+ // Allow subsequent single fields in typescript classes
+ "@typescript-eslint/lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
+
/*
// Disable use before define, as irrelevant for TS interfaces
"no-use-before-define": "off",