mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-12 09:24:04 +02:00
build(commitlint): Soften commitlint
rules
Commit subjects can now start with capital letters and end with periods. closes #93
This commit is contained in:
@@ -70,13 +70,16 @@
|
|||||||
"commitlint": {
|
"commitlint": {
|
||||||
"extends": [
|
"extends": [
|
||||||
"@commitlint/config-conventional"
|
"@commitlint/config-conventional"
|
||||||
]
|
],
|
||||||
|
"rules": {
|
||||||
|
"subject-case": [0, "never", "sentence-case"],
|
||||||
|
"subject-full-stop": [0, "never", "."]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
||||||
"pre-commit": "lint-staged",
|
"pre-commit": "lint-staged"
|
||||||
"prepare-commit-msg": "npm run semantic-commitlint -- -h"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
Reference in New Issue
Block a user