dev: specify correct path to linter

This commit is contained in:
naskya 2024-08-09 08:07:39 +09:00
parent c75bee17a4
commit 3d78594d43
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
3 changed files with 7 additions and 8 deletions

View file

@ -13,8 +13,8 @@
"build": "pnpm tsc --project tsconfig.json ; pnpm tsc-alias --project tsconfig.json", "build": "pnpm tsc --project tsconfig.json ; pnpm tsc-alias --project tsconfig.json",
"build:debug": "pnpm tsc --sourceMap --project tsconfig.json ; pnpm tsc-alias --project tsconfig.json", "build:debug": "pnpm tsc --sourceMap --project tsconfig.json ; pnpm tsc-alias --project tsconfig.json",
"watch": "pnpm tsc --project tsconfig.json --watch ; pnpm tsc-alias --project tsconfig.json --watch", "watch": "pnpm tsc --project tsconfig.json --watch ; pnpm tsc-alias --project tsconfig.json --watch",
"lint": "pnpm biome check --write **/*.ts", "lint": "pnpm biome check --write src",
"format": "pnpm biome format * --write" "format": "pnpm biome format --write src"
}, },
"dependencies": { "dependencies": {
"@bull-board/api": "5.21.3", "@bull-board/api": "5.21.3",

View file

@ -8,10 +8,9 @@
"build": "pnpm vite build", "build": "pnpm vite build",
"build:debug": "pnpm run build", "build:debug": "pnpm run build",
"lint": "pnpm run lint:ts ; pnpm run lint:vue", "lint": "pnpm run lint:ts ; pnpm run lint:vue",
"lint:ts": "pnpm biome check **/*.ts --write", "lint:ts": "pnpm biome check --write src/*.ts src/**/*.ts src/**/**/*.ts",
"lint:vue": "pnpm biome check **/*.vue --write", "lint:vue": "pnpm vue-tsc --noEmit",
"types:check": "pnpm vue-tsc --noEmit", "format": "pnpm biome format --write src"
"format": "pnpm biome format * --write"
}, },
"devDependencies": { "devDependencies": {
"@phosphor-icons/web": "2.1.1", "@phosphor-icons/web": "2.1.1",

View file

@ -6,8 +6,8 @@
"scripts": { "scripts": {
"build": "pnpm vite build --emptyOutDir", "build": "pnpm vite build --emptyOutDir",
"build:debug": "pnpm run build", "build:debug": "pnpm run build",
"lint": "pnpm biome check *.ts --apply", "lint": "pnpm biome check --write src",
"format": "pnpm biome format * --write" "format": "pnpm biome format --write src"
}, },
"devDependencies": { "devDependencies": {
"firefish-js": "workspace:*", "firefish-js": "workspace:*",