🐛 fix(frontend): update format script in package.json to only format files in the root directory

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-17 19:35:10 -03:00
commit 8a545d4dcc

View file

@ -72,7 +72,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": {