🔧 chore(frontend): add prettier formatting script to package.json

The `format` script has been added to the `package.json` file in the `frontend` directory. This script uses `prettier` to format all files with the extensions `.js`, `.jsx`, `.ts`, `.tsx`, `.json`, and `.md` in the `src` directory. This ensures that the codebase is consistent and follows a standard formatting style.
This commit is contained in:
Gabriel Almeida 2023-05-27 13:03:25 -03:00
commit a7749323e4
2 changed files with 3 additions and 2 deletions

View file

@ -7370,4 +7370,4 @@
} }
} }
} }
} }

View file

@ -38,7 +38,8 @@
"dev:docker": "vite --host 0.0.0.0", "dev:docker": "vite --host 0.0.0.0",
"start": "vite", "start": "vite",
"build": "vite build", "build": "vite build",
"serve": "vite preview" "serve": "vite preview",
"format": "npx prettier --write \"src/**/*.{js,jsx,ts,tsx,json,md}\""
}, },
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [