Skip to content

Code style

Fredrik August Madsen-Malmo edited this page Feb 10, 2021 · 2 revisions

Formatting and linting

We have set up formatting and linting in two stages;

.editorconfig

This file contains a set of rules regarding the formatting of the code. Most editors support this file "out of the box", so no setup is required.

Restyled

We use a bot called Restyled for PR linting and formatting. If your code is improperly formatted, it will detect this and create a PR fixing the issues – requesting to merge into your PR.