Repository style guide
TL;DR
We use prettier code style, conventional commit messages, and cspell spelling to ensure basic code quality. All commits run tests on CI servers. Those tests include typechecking using Microsoft's TypeScript, checking prettier code style, and linting with eslint and typescript-eslint.
- Use prettier code style.
- Use conventional commit messages.
- We recommend using commitizen to make commit messages easier.
- This repository is not yet commitizen friendly, check back soon!
- We recommend using commitizen to make commit messages easier.
- Use US spelling.
- We check spelling with cspell. If cspell throws an incorrect spelling error, you may add the word to the
wordsarray in the top-level.cspell.jsonconfig file.
- We check spelling with cspell. If cspell throws an incorrect spelling error, you may add the word to the
Important
We use husky to enforce critical parts of this style guide. Husky will prevent a git commit from occurring with non-prettier code or a malformed commit message.
Last update: April 18, 2022
Created: April 18, 2022
Created: April 18, 2022