We welcome patches!
We like to follow the recommendations set out in the GDS git style guide which describes how we prefer git history and commit messages to read.
We have a JavaScript style checker npm run style
All our styles are defined in our JavaScript style config
We follow the Google JavaScript style guide
We also lint our code npm run lint
.
A pre commit hook is run as part of the project which runs the above checks and our tests (npm run test
).
For visual changes, it can be helpful to provide images in your pull-request showing before and after to highlight the differences.