feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50)
- Install ESLint 9 with flat config, TypeScript, Vue plugins - Configure Prettier (140 char, 2-space indent, single quotes) - Add pre-commit hooks via husky + lint-staged for auto-fix - Rename components to multi-word (Countdown → CountdownTimer, etc.) - Add explicit TypeScript prop/emit interfaces - Remove all console.log statements - Fix all ESLint violations and type errors - Verify type-check, build, and HMR working resolves #43 Co-authored-by: johba <johba@harb.eth> Reviewed-on: https://codeberg.org/johba/harb/pulls/50
This commit is contained in:
parent
09c36f2c87
commit
2acb619a11
39 changed files with 3460 additions and 1246 deletions
3
landing/.husky/pre-commit
Normal file
3
landing/.husky/pre-commit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
cd "$(dirname "$0")/.."/landing || exit 1
|
||||
npx lint-staged
|
||||
Loading…
Add table
Add a link
Reference in a new issue