Fix linting and formatting issues

- Run Prettier to fix code style in 7 files
- Auto-fix ESLint errors with --fix flag
- Replace ++ with += 1 in commandTracking.ts
- Add eslint-disable comments for intentional console.error usage
- Fix destructuring, array types, and template literals
- Remove trivial type annotations
This commit is contained in:
2026-02-27 19:04:38 +01:00
parent 7274d0639a
commit b1f1fa8780
20 changed files with 438 additions and 255 deletions

View File

@@ -703,7 +703,7 @@ export function useRandomWords() {
];
// Try to fetch random words from API, fallback to local list
async function getRandomWords(count: number = 4): Promise<string[]> {
async function getRandomWords(count = 4): Promise<string[]> {
try {
// Try Random Word API first
const response = await fetch(