-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve commit lint config to use conventional
- Loading branch information
Showing
3 changed files
with
39 additions
and
52 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 |
---|---|---|
@@ -1,26 +1,3 @@ | ||
const Configuration = { | ||
/* | ||
* Resolve and load @commitlint/config-conventional from node_modules. | ||
* Referenced packages must be installed | ||
*/ | ||
extends: ["@commitlint/config-angular"], | ||
/* | ||
* Resolve and load @commitlint/format from node_modules. | ||
* Referenced package must be installed yep | ||
*/ | ||
formatter: "@commitlint/format", | ||
/* | ||
* Whether commitlint uses the default ignore rules. | ||
*/ | ||
defaultIgnores: true, | ||
/* | ||
* Custom URL to show upon failure | ||
*/ | ||
helpUrl: | ||
"https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines", | ||
rules: { | ||
"type-enum": [2, 'always' ,["ci", "docs", "feat", "fix", "refactor", "test", "chore"]], | ||
}, | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'] | ||
}; | ||
|
||
module.exports = Configuration; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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