Code Style Guide - hmrc/assets-frontend GitHub Wiki
"All code in any code-base should look like a single person typed it, no matter how many people contributed." - Rick Waldron
- Use Editorconfig when possible.
- Two space indents. Don't use tabs anywhere.
- No trailing whitespace, except in markdown files where a linebreak must be forced.
- Files must end in a new line
Testing
- 100% test coverage is a good goal to strive for, even if it's not always practical to reach it.
- Unit tests are written following the "it should..." format