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(lint): adjust false positive eslint rule

as-op2027c9cc84a5
diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js
index c9e146f26c0..b6796c3ee03 100644
--- a/frontend/.eslintrc.js
+++ b/frontend/.eslintrc.js
@@ -168,6 +168,9 @@ module.exports = {
"no-return-assign": ["error", "except-parens"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
+ // https://typescript-eslint.io/rules/no-base-to-string/ Disable false positives due to missing types
+ "@typescript-eslint/no-base-to-string": ["error", { "ignoredTypeNames": ["Error", "RegExp", "URL", "URLSearchParams"] }],
+
//////////////////////////////////////////////////////////////////////
// Anything below this line should be turned on again at some point //
//////////////////////////////////////////////////////////////////////