Skip to content

Commit 30948eb

Browse files
author
Ruben van Leeuwen
committed
1802: Runs eslint with flat config
1 parent 7a3a1d5 commit 30948eb

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.eslintrc.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from 'eslint/config';
2+
3+
import wfoConfig from '@orchestrator-ui/eslint-config-custom';
4+
5+
export default defineConfig([wfoConfig]);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"tsc": "tsc --noEmit",
99
"build": "next build",
1010
"start": "next start",
11-
"lint": "next lint",
11+
"lint": "eslint",
1212
"prettier": "prettier -c \"{**/*,*}.{ts,tsx,json,js,md}\"",
1313
"prettier-fix": "prettier --write \"{**/*,*}.{ts,tsx,json,js,md}\"",
1414
"postinstall": "husky"
@@ -20,6 +20,7 @@
2020
"@emotion/react": "^11.11.1",
2121
"@orchestrator-ui/orchestrator-ui-components": "*",
2222
"@reduxjs/toolkit": "^2.0.1",
23+
"eslint": "^9.25.1",
2324
"moment": "^2.29.4",
2425
"next": "^15.3.1",
2526
"next-auth": "^4.24.5",
@@ -43,7 +44,6 @@
4344
"@types/react-dom": "^18.2.18",
4445
"@types/react-no-ssr": "^1.1.7",
4546
"babel-jest": "^29.7.0",
46-
"eslint": "^9.25.1",
4747
"husky": "^9.0.11",
4848
"prettier": "^3.5.3",
4949
"typescript": "^5.5.2"

0 commit comments

Comments
 (0)