Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit 1a0d552

Browse files
committed
chore: switch to @commitlint/config-conventional
1 parent c63b37f commit 1a0d552

File tree

4 files changed

+104
-108
lines changed

4 files changed

+104
-108
lines changed

.yo-rc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"packager": "yarn",
1111
"semantic-release": false,
1212
"commitizen-adapter": "cz-customizable",
13-
"commitlint-config": "@commitlint/config-angular"
13+
"commitlint-config": "@commitlint/config-conventional"
1414
}
1515
}

commitlint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const validScopes = scopes.map(scope => scope.name);
77
const scopeValidationLevel = allowCustomScopes ? 1 : 2;
88

99
module.exports = {
10-
extends: ['@commitlint/config-angular'],
10+
extends: ['@commitlint/config-conventional'],
1111

1212
// Add your own rules. See http://marionebl.github.io/commitlint
1313
rules: {

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"scripts": {
4-
"build": "lerna run --parallel build",
4+
"build": "lerna run --parallel build",
55
"lint": "eslint ./",
66
"test": "jest --forceExit",
77
"test:watch": "yarn test -- --watch --coverage false",
@@ -15,8 +15,8 @@
1515
"packages/*"
1616
],
1717
"devDependencies": {
18-
"@commitlint/cli": "^3.1.3",
19-
"@commitlint/config-angular": "^3.1.1",
18+
"@commitlint/cli": "^5.1.1",
19+
"@commitlint/config-conventional": "^5.1.3",
2020
"commitizen": "^2.9.6",
2121
"cz-customizable": "^5.2.0",
2222
"eslint": "^4.5.0",

0 commit comments

Comments
 (0)