mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: tweak biome config (#15864)
This commit is contained in:
+8
-12
@@ -6,16 +6,16 @@
|
||||
"license": "AGPL-3.0",
|
||||
"scripts": {
|
||||
"build": "NODE_ENV=production pnpm vite build",
|
||||
"check": "biome check --error-on-warnings e2e/ src/",
|
||||
"check:fix": "biome check --error-on-warnings --fix e2e/ src/",
|
||||
"check": "biome check --error-on-warnings .",
|
||||
"check:fix": "biome check --error-on-warnings --fix .",
|
||||
"check:all": "pnpm check && pnpm test",
|
||||
"chromatic": "chromatic",
|
||||
"dev": "vite",
|
||||
"format": "biome format --write e2e/ src/",
|
||||
"format:check": "biome format e2e/ src/",
|
||||
"format": "biome format --write .",
|
||||
"format:check": "biome format .",
|
||||
"lint": "pnpm run lint:check && pnpm run lint:types",
|
||||
"lint:check": " biome lint --error-on-warnings e2e/ src/",
|
||||
"lint:fix": " biome lint --error-on-warnings --write e2e/ src/",
|
||||
"lint:check": " biome lint --error-on-warnings .",
|
||||
"lint:fix": " biome lint --error-on-warnings --write .",
|
||||
"lint:types": "tsc -p .",
|
||||
"playwright:install": "playwright install --with-deps chromium",
|
||||
"playwright:test": "playwright test --config=e2e/playwright.config.ts",
|
||||
@@ -117,7 +117,7 @@
|
||||
"yup": "1.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "1.9.3",
|
||||
"@biomejs/biome": "1.9.4",
|
||||
"@chromatic-com/storybook": "3.2.2",
|
||||
"@octokit/types": "12.3.0",
|
||||
"@playwright/test": "1.47.2",
|
||||
@@ -184,11 +184,7 @@
|
||||
"vite-plugin-checker": "0.8.0",
|
||||
"vite-plugin-turbosnap": "1.0.3"
|
||||
},
|
||||
"browserslist": [
|
||||
"chrome 110",
|
||||
"firefox 111",
|
||||
"safari 16.0"
|
||||
],
|
||||
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
|
||||
"resolutions": {
|
||||
"optionator": "0.9.3",
|
||||
"semver": "7.6.2"
|
||||
|
||||
Reference in New Issue
Block a user