- ESLint - https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
- Prettier - https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
Recommended - Set format on save and any global prettier options
| /** | |
| * Configuration options for the waveform visualization. | |
| */ | |
| interface WaveformConfig { | |
| barWidth?: number // The width of each bar in the waveform. | |
| gap?: number // The gap between bars in the waveform. | |
| maxBars?: number // The maximum number of bars to display. | |
| minBarHeight?: number // The minimum height of a bar. | |
| borderRadius?: number // The border radius of each bar. | |
| barColor?: string // The color of the bars. |
| { | |
| "purchase_list": [ | |
| { | |
| "purchase_id": "1", | |
| "product_name": "Apples", | |
| "quantity": 3, | |
| "unit_price": 1.99, | |
| "total_price": 5.97, | |
| "customer": { | |
| "id": "101", |
| import type { FetchOptions } from 'ohmyfetch'; | |
| import { useApiMethod } from '@/enums/composables/useApi'; | |
| /** | |
| * Custom hook that makes an HTTP request to the API endpoint. | |
| */ | |
| export async function useApi<T>( | |
| path: string, | |
| opts?: FetchOptions, | |
| prefix = 'api', |
Recommended - Set format on save and any global prettier options