mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
Run lint-staged from root
This commit is contained in:
@@ -1,2 +1 @@
|
||||
pnpm run --filter=server lint-staged
|
||||
pnpm run --filter=web lint-staged
|
||||
pnpm lint-staged
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"dev": "turbo run dev",
|
||||
"build": "turbo run build",
|
||||
"test": "turbo run test",
|
||||
"lint-staged": "lint-staged",
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install"
|
||||
},
|
||||
@@ -25,6 +26,7 @@
|
||||
"eslint-plugin-unused-imports": "^3.1.0",
|
||||
"globals": "^15.0.0",
|
||||
"husky": "^9.0.11",
|
||||
"lint-staged": "^15.2.2",
|
||||
"turbo": "^1.13.2",
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
@@ -36,5 +38,10 @@
|
||||
"overrides": {
|
||||
"eslint": "8.56.0"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
"eslint --fix --no-warn-ignored"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
@@ -52,6 +52,9 @@ importers:
|
||||
husky:
|
||||
specifier: ^9.0.11
|
||||
version: 9.0.11
|
||||
lint-staged:
|
||||
specifier: ^15.2.2
|
||||
version: 15.2.2
|
||||
turbo:
|
||||
specifier: ^1.13.2
|
||||
version: 1.13.2
|
||||
@@ -266,9 +269,6 @@ importers:
|
||||
globals:
|
||||
specifier: ^15.0.0
|
||||
version: 15.0.0
|
||||
lint-staged:
|
||||
specifier: ^15.2.2
|
||||
version: 15.2.2
|
||||
nexe:
|
||||
specifier: 5.0.0-beta.1
|
||||
version: 5.0.0-beta.1(esbuild@0.19.5)
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
"debug": "tsx watch --tsconfig ./tsconfig.build.json --ignore 'src/streams' --inspect-brk src",
|
||||
"dev": "NODE_ENV=development tsx watch --tsconfig ./tsconfig.build.json --ignore 'build' --ignore 'src/streams' src",
|
||||
"lint-changed": "eslint --fix $(git diff --name-only HEAD -- './**/*.ts' | sed 's/server\\///g' | xargs)",
|
||||
"lint-staged": "lint-staged",
|
||||
"make-exec": "tsx scripts/makeExecutable.ts",
|
||||
"make-exec:windows": "tsx scripts/makeExecutable.ts --target windows-x64-20.11.1 --python python",
|
||||
"generate-db-migration": "pnpm run mikro-orm migration:create",
|
||||
@@ -96,7 +95,6 @@
|
||||
"fast-check": "^3.17.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
"globals": "^15.0.0",
|
||||
"lint-staged": "^15.2.2",
|
||||
"nexe": "5.0.0-beta.1",
|
||||
"pkg": "^5.8.1",
|
||||
"postject": "1.0.0-alpha.6",
|
||||
@@ -121,10 +119,5 @@
|
||||
"./mikro-orm.config.ts",
|
||||
"./build/mikro-orm.config.js"
|
||||
]
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.ts": [
|
||||
"eslint --fix --no-warn-ignored"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"bundle": "vite build",
|
||||
"dev": "vite",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"lint-staged": "lint-staged",
|
||||
"preview": "vite preview",
|
||||
"test": "vitest",
|
||||
"typecheck": "tsc -p tsconfig.build.json --noEmit"
|
||||
@@ -63,16 +62,10 @@
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.3",
|
||||
"lint-staged": "^15.2.2",
|
||||
"nodemon": "^3.0.3",
|
||||
"openapi-zod-client": "^1.14.0",
|
||||
"ts-essentials": "^9.4.1",
|
||||
"typescript": "5.4.3",
|
||||
"vite": "^4.4.5"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
"eslint --fix --no-warn-ignored"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user