You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,15 @@ Then just add **.cz.json** to the root of your repository with the following con
40
40
41
41
This just tells Commitizen which adapter we actually want our contributors to use when they try to commit to this repo.
42
42
43
+
Alternatively, you can skip adding an additional dot file to your root directory by making **.cz.json** a part of **package.json**... just add the `czConfig` field:
44
+
45
+
```json
46
+
...
47
+
"czConfig": {
48
+
"path": "node_modules/cz-conventional-changelog"
49
+
}
50
+
```
51
+
43
52
#### Congratulations your repo is Commitizen-friendly. Time to flaunt it!
44
53
45
54
Add the Commitizen-friendly badge to your README using the following markdown:
0 commit comments