@commitlint/config-angular
Advanced tools
Comparing version
32
index.js
@@ -1,22 +0,24 @@ | ||
import typeEnum from '@commitlint/config-angular-type-enum'; | ||
import typeEnum from "@commitlint/config-angular-type-enum"; | ||
export default { | ||
parserPreset: {parserOpts: {headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/}}, | ||
parserPreset: { | ||
parserOpts: { headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/ }, | ||
}, | ||
rules: { | ||
'subject-exclamation-mark': [2, 'never'], | ||
'body-leading-blank': [1, 'always'], | ||
'footer-leading-blank': [1, 'always'], | ||
'header-max-length': [2, 'always', 72], | ||
'scope-case': [2, 'always', 'lower-case'], | ||
'subject-case': [ | ||
"subject-exclamation-mark": [2, "never"], | ||
"body-leading-blank": [1, "always"], | ||
"footer-leading-blank": [1, "always"], | ||
"header-max-length": [2, "always", 72], | ||
"scope-case": [2, "always", "lower-case"], | ||
"subject-case": [ | ||
2, | ||
'never', | ||
['sentence-case', 'start-case', 'pascal-case', 'upper-case'], | ||
"never", | ||
["sentence-case", "start-case", "pascal-case", "upper-case"], | ||
], | ||
'subject-empty': [2, 'never'], | ||
'subject-full-stop': [2, 'never', '.'], | ||
'type-case': [2, 'always', 'lower-case'], | ||
'type-empty': [2, 'never'], | ||
'type-enum': typeEnum.rules['type-enum'], | ||
"subject-empty": [2, "never"], | ||
"subject-full-stop": [2, "never", "."], | ||
"type-case": [2, "always", "lower-case"], | ||
"type-empty": [2, "never"], | ||
"type-enum": typeEnum.rules["type-enum"], | ||
}, | ||
}; |
{ | ||
"name": "@commitlint/config-angular", | ||
"type": "module", | ||
"version": "19.8.0", | ||
"version": "19.8.1", | ||
"description": "Shareable commitlint config enforcing the angular commit convention", | ||
@@ -35,9 +35,9 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@commitlint/lint": "^19.8.0", | ||
"@commitlint/utils": "^19.8.0" | ||
"@commitlint/lint": "^19.8.1", | ||
"@commitlint/utils": "^19.8.1" | ||
}, | ||
"dependencies": { | ||
"@commitlint/config-angular-type-enum": "^19.8.0" | ||
"@commitlint/config-angular-type-enum": "^19.8.1" | ||
}, | ||
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679" | ||
"gitHead": "3c302008cabeb0b08cd246b2417a51a9d745a918" | ||
} |
6176
0.13%23
9.52%