mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: faster web linting (#28303)
This commit is contained in:
+7
-1
@@ -42,11 +42,17 @@ run = "pnpm run check:svelte"
|
||||
[tasks.check]
|
||||
run = { tasks = [":check-typescript", ":check-svelte"] }
|
||||
|
||||
[tasks.checklist]
|
||||
[tasks.ci-unit]
|
||||
depends = ["//:sdk:install", "//:sdk:build"]
|
||||
run = [
|
||||
{ task = ":install" },
|
||||
{ task = ":format" },
|
||||
{ task = ":check" },
|
||||
{ task = ":test --run" },
|
||||
]
|
||||
|
||||
[tasks.checklist]
|
||||
run = [
|
||||
{ task = ":ci-unit" },
|
||||
{ task = ":lint" },
|
||||
]
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
"check:watch": "pnpm run check:svelte --watch",
|
||||
"check:code": "pnpm run format && pnpm run lint && pnpm run check:svelte && pnpm run check:typescript",
|
||||
"check:all": "pnpm run check:code && pnpm run test:cov",
|
||||
"lint": "eslint . --max-warnings 0 --concurrency 4",
|
||||
"lint": "eslint . --max-warnings 0 --concurrency 6",
|
||||
"lint:fix": "pnpm run lint --fix",
|
||||
"format": "prettier --cache --check .",
|
||||
"format:fix": "prettier --cache --write --list-different .",
|
||||
|
||||
Reference in New Issue
Block a user