feat: Introduce biome (#25664)
* Configure biome * Fix companion build * fix: remove generated files from formatter ignore list to enable proper formatting Co-Authored-By: Volnei Munhoz <[email protected]> * fix: add explicit stripe dependency to @calcom/features to fix type resolution Co-Authored-By: Volnei Munhoz <[email protected]> * fix: rename const require to nodeRequire in generate-swagger.ts to avoid TypeScript reserved identifier conflict Co-Authored-By: Volnei Munhoz <[email protected]> * fix: add guard for document in makeBodyVisible to prevent test environment teardown errors Co-Authored-By: Volnei Munhoz <[email protected]> * fix: replace ESLint with Biome CLI in embed-code-generator.e2e.ts Co-Authored-By: Volnei Munhoz <[email protected]> * fix: address cubic review comments - Fix invalid --reporter-path Biome CLI option by using shell redirection - Fix packages/lib lint report filename (app-store.json -> lib.json) - Add typescript-eslint and eslint back to companion for lint:react-compiler - Add missing restricted import rules to biome.json: - packages/lib: add ../trpc/** and @trpc/server restrictions - packages/trpc: add ../apps/web/** restriction Co-Authored-By: Volnei Munhoz <[email protected]> * chore: regenerate companion bun.lock after adding eslint dependencies Co-Authored-By: Volnei Munhoz <[email protected]> * Remove remaining eslint things * add tailwind directives --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
80 files changed
+1024
-3946
No files matched your search
+2
-4
@@ -54,7 +54,7 @@
|
||||
"embed-tests": "turbo run embed-tests",
|
||||
"env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",
|
||||
"env-check:common": "dotenv-checker --schema .env.example --env .env",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
||||
"format": "biome format --write .",
|
||||
"heroku-postbuild": "turbo run @calcom/web#build",
|
||||
"lint:fix": "turbo lint:fix",
|
||||
"lint:report": "turbo lint:report",
|
||||
@@ -85,7 +85,7 @@
|
||||
"lint-staged": "lint-staged"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@calcom/eslint-config": "workspace:*",
|
||||
"@biomejs/biome": "^2.3.8",
|
||||
"@changesets/changelog-github": "0.5.1",
|
||||
"@changesets/cli": "2.29.4",
|
||||
"@faker-js/faker": "9.2.0",
|
||||
@@ -99,7 +99,6 @@
|
||||
"c8": "7.13.0",
|
||||
"checkly": "latest",
|
||||
"dotenv-checker": "1.1.5",
|
||||
"eslint": "9.36.0",
|
||||
"husky": "9.1.7",
|
||||
"i18n-unused": "0.13.0",
|
||||
"jest-diff": "29.7.0",
|
||||
@@ -109,7 +108,6 @@
|
||||
"next-router-mock": "0.9.12",
|
||||
"node-gyp": "10.2.0",
|
||||
"node-ical": "0.16.1",
|
||||
"prettier": "2.8.7",
|
||||
"prismock": "1.35.3",
|
||||
"resize-observer-polyfill": "1.5.1",
|
||||
"tsc-absolute": "1.0.0",
|
||||
|
||||
Reference in new issue
Block a user