Add .prettierignore file and update package.json to include ignore path for Prettier

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-30 14:38:07 -03:00
commit c56733f3a4
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
build/*

View file

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