forked from open-telemetry/opentelemetry-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add commitlint and husky (open-telemetry#128)
Change CONTRIBUTING.md Resolves open-telemetry#117 Signed-off-by: Olivier Albertini <olivier.albertini@montreal.ca>
- Loading branch information
1 parent
02a2001
commit 44214ac
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
extends: | ||
- '@commitlint/config-conventional' | ||
rules: | ||
header-max-length: [1, 'always', 72] | ||
type-enum: | ||
- 2 | ||
- always | ||
- - ci | ||
- feat | ||
- fix | ||
- docs | ||
- style | ||
- refactor | ||
- perf | ||
- test | ||
- revert | ||
- chore | ||
help: | | ||
**Possible types**: | ||
`ci`: Changes to our CI configuration files and scripts (example scopes: Travis, Circle CI, BrowserStack, SauceLabs) | ||
`feat`: Adds a new feature. | ||
`fix`: Solves a bug. | ||
`docs`: Adds or alters documentation. (example scopes: readme, worker, code_of_conduct, contributors) | ||
`style`: Improves formatting, white-space. | ||
`refactor`: Rewrites code without feature, performance or bug changes. | ||
`perf`: Improves performance. | ||
`test`: Adds or modifies tests. (example scopes: functionals, unit-tests) | ||
`revert`: Changes that reverting other changes | ||
`chore`: No production code change. Updating grunt tasks etc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters