- Fork it
- Install dependencies (
npm install
) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes - follow commitizen convention (
git commit -am 'feat(cli): added some feature'
) - Lint and test your changes (
npm run lint && npm test
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Visual Studio Code 1.33.0+
- VSCode Extensions:
- Prettier - Code Formatter
- ESLint
- EditorConfig for VS Code
- Coverage Gutters
- Visual Studio Code Commitizen Support
Use Jest to write tests. Run the test suite with this command:
npm test
Generate test coverage report with this command:
npm run test:cov
Coverage Gutters VSCode extension uses coverage report to display code coverage directly in the editor.
Use Prettier and EditorConfig to maintain code style and best practices. Please make sure your PR adheres to the guides by running:
npm run lint