chore: OXC Formatter
This commit is contained in:
@@ -26,13 +26,13 @@ Run commands from `app/citizen-frontend` unless noted otherwise.
|
||||
- `pnpm build`: run type-checking and production build.
|
||||
- `pnpm build-only`: build the Vite app without type-checking.
|
||||
- `pnpm type-check`: run `vue-tsc`.
|
||||
- `pnpm lint`: run ESLint.
|
||||
- `pnpm lint:fix`: apply ESLint auto-fixes.
|
||||
- `pnpm format`: format source files with OXC Formatter.
|
||||
- `pnpm format:check`: check source formatting with OXC Formatter.
|
||||
- `pnpm preview`: preview the production build locally.
|
||||
|
||||
## Coding Style & Naming Conventions
|
||||
|
||||
Use TypeScript, Vue 3 Composition API, and `<script setup>` for Vue components. Follow the existing Vuetify component style and route/page organization. Use 2-space indentation, single quotes, no semicolons, and trailing commas where the linter expects them.
|
||||
Use TypeScript, Vue 3 Composition API, and `<script setup>` for Vue components. Follow the existing Vuetify component style and route/page organization. Use 2-space indentation, single quotes, no semicolons, and trailing commas as enforced by OXC Formatter.
|
||||
|
||||
Name Vue pages and components descriptively, matching existing patterns such as `self-assessment.vue`, `DefaultLayout.vue`, and Pinia stores under `src/stores/`.
|
||||
|
||||
@@ -41,7 +41,7 @@ Name Vue pages and components descriptively, matching existing patterns such as
|
||||
No dedicated test suite is currently configured. For changes, run at minimum:
|
||||
|
||||
```sh
|
||||
pnpm lint
|
||||
pnpm format:check
|
||||
pnpm type-check
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user