Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:55:38 +08:00
commit 4e7b2cfa56
19 changed files with 6651 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#!/usr/bin/env sh
# Pre-commit hook using Husky and lint-staged
#
# Setup Instructions:
# 1. Install Husky and lint-staged:
# npm install --save-dev husky lint-staged
#
# 2. Initialize Husky:
# npx husky install
#
# 3. Add this pre-commit hook:
# npx husky add .husky/pre-commit "npx lint-staged"
#
# 4. Add lint-staged configuration to package.json:
# {
# "lint-staged": {
# "webapp/**/*.{js,xml,json}": [
# "ui5lint"
# ]
# }
# }
#
# Documentation: https://github.com/UI5/linter
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged