chore: upgrade eslint 9 (#24002)

* add eslint package

* upgrade lint

* remove linting for generated files from trpc

* ts imports

* add missing features lint script

* enable turbo ui

* reference workspace deps correctly

* fixes

* Fix eslint test

* Fix eslint test

* npm run all back

* fix e2e

* fix e2e

* fix e2e

---------

Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
Volnei MunhozandAlex van Andel authored and GitHub committed 2025-09-24 22:20:49 +09:00
1 parent 57150d992e
commit 96855ea391
155 files changed
+1918 -1495

No files matched your search

+1 -1
View File
@@ -22,6 +22,6 @@
"post-install": "yarn build"
},
"dependencies": {
"@calcom/platform-constants": "*"
"@calcom/platform-constants": "workspace:*"
}
}
@@ -1 +0,0 @@
module.exports = {};
@@ -0,0 +1,3 @@
import { nextJsConfig } from "@calcom/eslint-config/next-js";
export default nextJsConfig;
+3 -4
View File
@@ -7,12 +7,12 @@
"dev": "PORT=4321 next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint": "eslint .",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui"
},
"dependencies": {
"@calcom/atoms": "*",
"@calcom/atoms": "workspace:*",
"@prisma/client": "6.7.0",
"next": "14.0.4",
"prisma": "^6.7.0",
@@ -21,14 +21,13 @@
"react-select": "^5.8.0"
},
"devDependencies": {
"@calcom/eslint-config": "workspace:*",
"@playwright/test": "^1.45.3",
"@types/node": "^20.3.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"dotenv": "^17.2.1",
"eslint": "^8.34.0",
"eslint-config-next": "14.0.4",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"typescript": "^5.9.0-beta"
+2 -2
View File
@@ -17,8 +17,8 @@
"publish-npm": "yarn && node scripts/prepublish.js && rm -rf dist && yarn build && npm publish --access public && node scripts/postpublish.js"
},
"dependencies": {
"@calcom/features": "*",
"@calcom/lib": "*"
"@calcom/features": "workspace:*",
"@calcom/lib": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.3.1",
+2 -2
View File
@@ -11,8 +11,8 @@
"post-install": "yarn build"
},
"dependencies": {
"@calcom/platform-constants": "*",
"@calcom/platform-enums": "*",
"@calcom/platform-constants": "workspace:*",
"@calcom/platform-enums": "workspace:*",
"@types/express": "^4.17.21",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0"
+2 -2
View File
@@ -11,8 +11,8 @@
"post-install": "yarn build"
},
"dependencies": {
"@calcom/platform-constants": "*",
"@calcom/platform-types": "*",
"@calcom/platform-constants": "workspace:*",
"@calcom/platform-types": "workspace:*",
"@types/jest": "^29.5.10",
"jest": "^29.7.0",
"ts-jest": "^29.1.1"