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

Remove the indent rule due to constantly breaking in longer chains

Oliver Günther2afa3d28e97d
diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js
index 007b661441c..361c38c14d5 100644
--- a/frontend/.eslintrc.js
+++ b/frontend/.eslintrc.js
@@ -96,8 +96,11 @@ module.exports = {
// Sometimes, arrow functions implicit return looks better below, so allow both
"implicit-arrow-linebreak": "off",
+ // Sometimes, arrow functions look better broken down
+ "arrow-body-style": "off",
+
// No void at all collides with `@typescript-eslint/no-floating-promises` which wants us to handle each promise.
- // Until we do that, `void` is a good way to explicitly mark unhandled promises.
+ // Until we do that, `void` is a good way to explicitly mark unhandled promises.
"no-void": ["error", { allowAsStatement: true }],
// Disable no-use for functions and classes
@@ -107,6 +110,10 @@ module.exports = {
// Allow subsequent single fields in typescript classes
"@typescript-eslint/lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
+ // Disable indentation rule as it breaks in edge cases and is covered by editorconfig
+ "indent": "off",
+ "@typescript-eslint/indent": "off",
+
/*
// Disable use before define, as irrelevant for TS interfaces
"no-use-before-define": "off",