harb/landing
johba 2acb619a11 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
2025-10-03 13:19:20 +02:00
..
.husky feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
public added web-app and landing 2025-09-23 14:18:04 +02:00
src feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
.gitignore added web-app and landing 2025-09-23 14:18:04 +02:00
.lintstagedrc.json feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
.prettierrc feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
AGENTS.md health checks (#39) 2025-10-02 14:37:59 +02:00
env.d.ts added web-app and landing 2025-09-23 14:18:04 +02:00
eslint.config.js feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
index.html added web-app and landing 2025-09-23 14:18:04 +02:00
package-lock.json feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
package.json feat(landing): add strict ESLint + Prettier with pre-commit hooks (#50) 2025-10-03 13:19:20 +02:00
README.md added web-app and landing 2025-09-23 14:18:04 +02:00
tsconfig.app.json added web-app and landing 2025-09-23 14:18:04 +02:00
tsconfig.json added web-app and landing 2025-09-23 14:18:04 +02:00
tsconfig.node.json added web-app and landing 2025-09-23 14:18:04 +02:00
vite.config.ts added web-app and landing 2025-09-23 14:18:04 +02:00

vue-kraiken

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build