chore: add husky pre-commit hook and auto-fix lint warnings

- Install husky for git hooks
- Add pre-commit hook to run 'npm run lint -- --fix' before each commit
- Auto-fix 6 additional warnings (attribute order, escape chars)
- 0 errors, 208 warnings (down from 214)

This ensures code quality checks run automatically before commits.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
sanbuphy
2026-02-20 01:19:00 +08:00
parent 66b2ba6e45
commit 4aca9df44e
6 changed files with 28 additions and 8 deletions
@@ -214,7 +214,7 @@
</div>
</div>
</div>
</template>
</div></template>
<script setup>
import { ref, computed, watch } from 'vue'