mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Revert pre-commit to use full lint with caching benefits
- Use npm run lint && npm run tsc (standard approach) - Keeps ESLint --cache flags for 97% performance improvement - Removes lint-staged dependency due to Node.js 18.12.1 compatibility - Still provides major performance gains through caching on repeated runs
This commit is contained in:
+2
-2
@@ -10,5 +10,5 @@ command -v npm >/dev/null 2>&1 || {
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Use lint-staged for faster pre-commit checks (only on changed files)
|
||||
npm run lint:staged
|
||||
# Full linting with cache for performance (97% faster on subsequent runs)
|
||||
npm run lint && npm run tsc
|
||||
|
||||
Reference in New Issue
Block a user