- 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
13 lines
262 B
Vue
13 lines
262 B
Vue
<script setup lang="ts">
|
|
import { RouterView } from 'vue-router';
|
|
import KFooter from '@/components/KFooter.vue';
|
|
import KNavbar from '@/components/KNavbar.vue';
|
|
</script>
|
|
|
|
<template>
|
|
<KNavbar />
|
|
<main>
|
|
<RouterView />
|
|
</main>
|
|
<KFooter />
|
|
</template>
|