You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[README.dockerhub.md](README.dockerhub.md) - Docker Hub specific information
128
128
129
+
## Code Formatting
130
+
131
+
This project uses [Prettier](https://prettier.io/) for consistent code formatting. Configuration is defined in the root `.prettierrc.json` file.
132
+
133
+
### Automatic Formatting
134
+
135
+
Formatting is automatically applied to staged files before each commit using [Husky](https://typicode.github.io/husky/) and [lint-staged](https://github.com/okonet/lint-staged). This ensures that all committed code adheres to the defined style guide.
136
+
137
+
### Manual Formatting
138
+
139
+
You can also manually format the code using the npm scripts available in both the `backend` and `frontend` directories:
140
+
141
+
```bash
142
+
# Navigate to the respective directory (backend or frontend)
143
+
cd backend # or cd frontend
144
+
145
+
# Format all relevant files
146
+
npm run format
147
+
148
+
# Check if all relevant files are formatted correctly
0 commit comments