-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wrong: introuce commit messge linter
- Loading branch information
Showing
2 changed files
with
77 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,38 @@ | ||
extends: | ||
- '@commitlint/config-conventional' | ||
- '@commitlint/config-lerna-scopes' | ||
rules: | ||
header-max-length: [1, 'always', 72] | ||
body-leading-blank: [2, 'always'] | ||
subject-empty: [2, 'never'] | ||
subject-full-stop: [2, 'never', '.'] | ||
subject-case: | ||
- 2 | ||
- never | ||
- - sentence-case | ||
- start-case | ||
- pascal-case | ||
type-empty: [2, 'never'] | ||
type-enum: | ||
- 2 | ||
- always | ||
- - fix | ||
- feat | ||
- refactor | ||
- revert | ||
- test | ||
- perf | ||
- style | ||
- chore | ||
- docs | ||
help: | | ||
**Possible types**: | ||
`fix`: Solves a bug. | ||
`feat`: Adds a new feature. | ||
`refactor`: Rewrites code without feature, performance or bug changes. | ||
`revert`: Changes that reverting other changes. | ||
`test`: Adds missing or correcting existing tests. | ||
`perf`: A code change that improves performance. | ||
`style`: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc). | ||
`chore`: Changes to the build process or auxiliary tools and libraries such as documentation generation. | ||
`docs`: Documentation only changes. |
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