style(commitlint): conventional

pull/736/head
Shahar Or (mightyiam) 5 years ago committed by Shahar Dawn Or
parent ae6cb66d12
commit faed6c9cc7

@ -1,19 +1,4 @@
{
"types": [
{
"type": "auto",
"section": "Internal changes"
},
{
"type": "dx",
"section": "Internal changes"
},
{
"type": "ux",
"section": "User facing changes"
}
],
"releaseCommitMessageFormat": "release(package): {{currentTag}}",
"skip": {
"tag": true
}

@ -1,25 +1,8 @@
{
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-leading-blank": [2, "always"],
"body-max-line-length": [2, "always", 100],
"footer-leading-blank": [2, "always"],
"footer-max-line-length": [2, "always", 100],
"header-max-length": [2, "always", 100],
"subject-case": [2, "never", [
"sentence-case",
"start-case",
"pascal-case",
"upper-case"
]],
"subject-empty": [2, "never"],
"subject-full-stop": [2, "never", "."],
"type-empty": [2, "never"],
"type-enum": [2, "always", [
"auto",
"dx",
"release",
"ux"
]],
"scope-empty": [2, "never"],
"scope-enum": [2, "always", [
"commitlint",

9
package-lock.json generated

@ -1283,6 +1283,15 @@
}
}
},
"@commitlint/config-conventional": {
"version": "9.1.1",
"resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-9.1.1.tgz",
"integrity": "sha512-t/bvv8ofjj7V4W99eVDyuACaC7Ch4SYaukglBYt/K1Y9Ixg8mCBuFDMGRMhyZn4upUe1ls8l4SO3rjaVbYIjlg==",
"dev": true,
"requires": {
"conventional-changelog-conventionalcommits": "4.3.0"
}
},
"@commitlint/ensure": {
"version": "9.1.1",
"resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-9.1.1.tgz",

@ -31,6 +31,7 @@
"@babel/core": "7.10.5",
"@babel/preset-env": "7.10.4",
"@commitlint/cli": "9.1.1",
"@commitlint/config-conventional": "9.1.1",
"@commitlint/travis-cli": "9.1.1",
"@types/chai": "4.2.11",
"@types/faker": "4.1.12",

Loading…
Cancel
Save