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:
@@ -4,10 +4,10 @@
|
||||
v-if="showProgress"
|
||||
class="reading-progress"
|
||||
:class="{ 'is-dragging': isDragging }"
|
||||
:title="isDragging ? '拖动调整位置' : '阅读进度 ' + progress + '%'"
|
||||
@mousedown="startDrag"
|
||||
@touchstart="startDrag"
|
||||
@click="handleClick"
|
||||
:title="isDragging ? '拖动调整位置' : '阅读进度 ' + progress + '%'"
|
||||
>
|
||||
<svg class="progress-ring" viewBox="0 0 56 56">
|
||||
<circle
|
||||
|
||||
Reference in New Issue
Block a user