Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/PULL_REQUEST/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] I have read CONTRIBUTING.md
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
npm run lint
npm run format
npm test
9 changes: 8 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Ignore artifacts:
out
coverage
node_modules
node_modules
.github
.husky
.vscode
.vscode-test
dist
*.vsix

10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,13 @@ Our commit convention follow the [Conventional Commits 1.0.0-beta.4](https://www
### Sign commit message

Please consider signing the commit message at least with `Signed-Off-By`. This is a way to certify that you wrote the code or otherwise have the right to pass it on as an open-source patch. The process is simple: if you can certify the [Developer's Certificate of Origin](https://developercertificate.org/) (DCO), then just add a line to every git commit message:

### Commit hooks

This repository uses [husky](https://typicode.github.io/husky/) for commit hooks.
For each commit, the following checks are performed:

- Lint
- Format
- Tests
- Commit message convention check
Loading
Loading