1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-02 18:42:47 +02:00

build(commitlint): Soften commitlint rules (#144)

Commit subjects can now start with capital letters and end with periods.
This commit is contained in:
Trezy
2018-12-09 13:37:09 -06:00
committed by Abdullah Samman
parent a9c959217f
commit f742bf48c8

View File

@@ -70,13 +70,16 @@
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
],
"rules": {
"subject-case": [0, "never", "sentence-case"],
"subject-full-stop": [0, "never", "."]
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"prepare-commit-msg": "npm run semantic-commitlint -- -h"
"pre-commit": "lint-staged"
}
},
"lint-staged": {