Skip to content

Commit

Permalink
Add documentation for linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown committed Jul 11, 2024
1 parent 3ab3f85 commit 9e762d0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ Generate them by running:
```
yarn build
```

If you change the code, make sure it is formatted correctly and free of lint errors.
You can do this by running:

```
yarn run check --write
```

This will format your code and automatically apply any lint fixes that are considered 'safe', all at once.
There's also `yarn format` and `yarn lint` if you want to do them individually.

0 comments on commit 9e762d0

Please sign in to comment.