Adjust the codebase style according to your preferences
The Makerkit's boilerplate codebase is formatted with Prettier. You can configure it as you wish by updating the file .prettierrc
you find in the project's root.
The default settings look like the below:
{ "tabWidth": 2, "useTabs": false, "semi": true, "arrowParens": "always", "parser": "typescript", "printWidth": 80, "singleQuote": true}
For example, to remove semicolons, update the semi
and set it to false
.
After adjusting the Prettier configuration, you can reformat the whole project by running the following command:
npm run format