Skip to content

Commit 61e5d67

Browse files
committed
style: add configuration for conventional commits
1 parent c239931 commit 61e5d67

4 files changed

Lines changed: 42 additions & 17 deletions

File tree

.gitattributes

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
/.codecov.yml export-ignore
2-
/.editorconfig export-ignore
3-
/.gitattributes export-ignore
4-
/.github/ export-ignore
5-
/.gitignore export-ignore
6-
/CODE_OF_CONDUCT.md export-ignore
7-
/CONTRIBUTING.md export-ignore
8-
/build/ export-ignore
9-
/captainhook.json export-ignore
10-
/composer.lock export-ignore
11-
/phpcs.xml.dist export-ignore
12-
/phpstan.neon.dist export-ignore
13-
/phpunit.xml.dist export-ignore
14-
/psalm-baseline.xml export-ignore
15-
/psalm.xml export-ignore
16-
/tests/ export-ignore
1+
/.codecov.yml export-ignore
2+
/.editorconfig export-ignore
3+
/.gitattributes export-ignore
4+
/.github/ export-ignore
5+
/.gitignore export-ignore
6+
/CODE_OF_CONDUCT.md export-ignore
7+
/CONTRIBUTING.md export-ignore
8+
/build/ export-ignore
9+
/captainhook.json export-ignore
10+
/composer.lock export-ignore
11+
/conventional-commits.json export-ignore
12+
/phpcs.xml.dist export-ignore
13+
/phpstan.neon.dist export-ignore
14+
/phpunit.xml.dist export-ignore
15+
/psalm-baseline.xml export-ignore
16+
/psalm.xml export-ignore
17+
/tests/ export-ignore

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
"extra": {
4343
"branch-alias": {
4444
"dev-main": "1.x-dev"
45+
},
46+
"ramsey/conventional-commits": {
47+
"configFile": "conventional-commits.json"
4548
}
4649
},
4750
"autoload": {

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conventional-commits.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"typeCase": "kebab",
3+
"types": [
4+
"ci",
5+
"deps",
6+
"docs",
7+
"feat",
8+
"fix",
9+
"refactor",
10+
"style",
11+
"test"
12+
],
13+
"scopeCase": "kebab",
14+
"scopeRequired": false,
15+
"scopes": [],
16+
"descriptionCase": "lower",
17+
"descriptionEndMark": "",
18+
"bodyRequired": false,
19+
"bodyWrapWidth": 72,
20+
"requiredFooters": []
21+
}

0 commit comments

Comments
 (0)