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

-21
View File
@@ -1,21 +0,0 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: ["../../.eslintrc.js"],
rules: {
"no-restricted-imports": [
"error",
{
// Ensure that embed packages(They are published) can't access unpublished packages which is basically all @calcom/* packages except embed packages
patterns: ["@calcom/*", "!@calcom/embed-*"],
},
],
},
overrides: [
{
files: ["embed-core/playwright/**/*"],
rules: {
"no-restricted-imports": "off",
},
},
],
};
+1 -1
View File
@@ -44,11 +44,11 @@
}
},
"devDependencies": {
"@calcom/eslint-config": "workspace:*",
"@playwright/test": "^1.45.3",
"@types/react": "18.0.26",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^2.2.0",
"eslint": "^8.34.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.0-beta",
"vite": "^4.5.2"
@@ -25,6 +25,7 @@
],
"types": "./dist/index.d.ts",
"devDependencies": {
"@calcom/eslint-config": "workspace:*",
"typescript": "^5.9.0-beta",
"vite": "^4.1.2"
},