mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 20:16:47 +03:00
1.0 KiB
1.0 KiB
layout | title | category | tags | order | |
---|---|---|---|---|---|
style-guide | YAML Style Guide | style-guide |
|
6 |
YAML Style Guide
In order to make our YAML configuration easy to read, we use an automated formatter to ensure that it's up to scratch.
Automated Formatting
The bulk of the heavy lifting for formatting our YAML is done by the formatter
prettier. This formatter should be run on the entire
repository using npx prettier --write .
before every pull request.
For instructions on how to install it, please see our contributing guidelines.
If you notice files in generated code being formatted by prettier, please add
them to the .prettierignore
file.
When bumping the version of prettier, please commit the resultant configuration formatting changes along with the bump as a separate PR from any functional code changes.