🐛 fix(frontend): update format script in package.json to include all files in subdirectories for consistent code formatting

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-22 18:16:57 -03:00
commit 8bbf25ee14

View file

@ -73,7 +73,7 @@
"start": "vite", "start": "vite",
"build": "vite build", "build": "vite build",
"serve": "vite preview", "serve": "vite preview",
"format": "npx prettier --write \"./*.{js,jsx,ts,tsx,json,md}\"", "format": "npx prettier --write \"./**/*.{js,jsx,ts,tsx,json,md}\"",
"type-check": "tsc --noEmit --pretty --project tsconfig.json && vite" "type-check": "tsc --noEmit --pretty --project tsconfig.json && vite"
}, },
"eslintConfig": { "eslintConfig": {