Skip to content

Commit da9d985

Browse files
committed
fix(templates): migrate to ESLint 9 flat config format
Replace legacy .eslintrc.js with eslint.config.js across all 4 starter templates. Upgrade eslint to ^9.0.0 and remove @types/eslint <9 resolution. Fixes FEC-739
1 parent ee05b63 commit da9d985

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

application-templates/starter-typescript/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@
9292
"devDependencies": {
9393
"@graphql-eslint/eslint-plugin": "^4.4.0"
9494
},
95+
"pnpm": {
96+
"overrides": {
97+
"jest-runner-eslint>eslint": "^9.0.0"
98+
}
99+
},
95100
"resolutions": {
96101
"@emotion/react": "^11.14.0",
97102
"@emotion/styled": "^11.14.0",

application-templates/starter/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
"devDependencies": {
9191
"@graphql-eslint/eslint-plugin": "^4.4.0"
9292
},
93+
"pnpm": {
94+
"overrides": {
95+
"jest-runner-eslint>eslint": "^9.0.0"
96+
}
97+
},
9398
"resolutions": {
9499
"@emotion/react": "^11.14.0",
95100
"@emotion/styled": "^11.14.0",

custom-views-templates/starter-typescript/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@
9292
"devDependencies": {
9393
"@graphql-eslint/eslint-plugin": "^4.4.0"
9494
},
95+
"pnpm": {
96+
"overrides": {
97+
"jest-runner-eslint>eslint": "^9.0.0"
98+
}
99+
},
95100
"resolutions": {
96101
"@emotion/react": "^11.14.0",
97102
"@emotion/styled": "^11.14.0",

custom-views-templates/starter/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
"devDependencies": {
9191
"@graphql-eslint/eslint-plugin": "^4.4.0"
9292
},
93+
"pnpm": {
94+
"overrides": {
95+
"jest-runner-eslint>eslint": "^9.0.0"
96+
}
97+
},
9398
"resolutions": {
9499
"@emotion/react": "^11.14.0",
95100
"@emotion/styled": "^11.14.0",

0 commit comments

Comments
 (0)