Appearance
Formatters
codecannon apps come with formatters configured and ready to go.
Frontend
On the frontend codecannon apps use Prettier for formatting.
You can run the formatter with the following command:
bash
npm run format
The Prettier configuration can be found in ui/.prettierrc.json
.
Additionally formatter workflows for Github Actions are generated and enabled by default.
Backend
On the backend codecannon apps use Laravel Pint for formatting.
You can run the formatter with the following command:
bash
./vendor/bin/pint
Additionally formatter workflows for Github Actions are generated and enabled by default.