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

Replace deprecated tseslint.config(...)

Alexander Brandon Coles84c109465e05
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs
index 60761df6ea1..e0c0bed9f68 100644
--- a/frontend/eslint.config.mjs
+++ b/frontend/eslint.config.mjs
@@ -7,7 +7,7 @@ import stylistic from '@stylistic/eslint-plugin';
import { defineConfig, globalIgnores } from 'eslint/config';
-const config = defineConfig([
+export default defineConfig([
{
files: ['**/*.{js,mjs,cjs}'],
extends: [
@@ -221,5 +221,3 @@ const config = defineConfig([
'src/app/shared/helpers/chronic_duration.js',
]),
]);
-
-export default tseslint.config(config);