Initial commit: Complete NodeJS-native setup
- Migrated from Python pre-commit to NodeJS-native solution - Reorganized documentation structure - Set up Husky + lint-staged for efficient pre-commit hooks - Fixed Dockerfile healthcheck issue - Added comprehensive documentation index
This commit is contained in:
8
.husky/commit-msg
Executable file
8
.husky/commit-msg
Executable file
@@ -0,0 +1,8 @@
|
||||
# Optional: Add commit message linting here if needed
|
||||
# For now, just ensure commit message is not empty
|
||||
if [ -z "$(cat $1 | head -1)" ]; then
|
||||
echo "Error: Commit message cannot be empty"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "✅ Commit message looks good!"
|
||||
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@@ -0,0 +1,4 @@
|
||||
# Run lint-staged for file-specific checks
|
||||
bunx lint-staged
|
||||
|
||||
echo "✅ Pre-commit checks passed!"
|
||||
Reference in New Issue
Block a user