Skip to content

Commit 84f4f85

Browse files
committed
docs: fix conventional-changelog-eslint example
1 parent 6554487 commit 84f4f85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ With the previous example the release type determined by the plugin will be `min
130130

131131
##### Specific commit properties
132132

133-
The properties to set in the rules will depends on the commit style chosen. For example [conventional-changelog-angular](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-angular/index.js#L9-L13) use the commit properties `type`, `scope` and `subject` but [conventional-changelog-eslint](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-eslint/index.js#L9-L12) uses `tag` and `message`.
133+
The properties to set in the rules will depends on the commit style chosen. For example [conventional-changelog-angular](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-angular) use the commit properties `type`, `scope` and `subject` but [conventional-changelog-eslint](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-eslint) uses `tag` and `message`.
134134

135135
For example with `eslint` preset:
136136
```json
@@ -140,7 +140,7 @@ For example with `eslint` preset:
140140
"preset": "eslint",
141141
"releaseRules": [
142142
{"tag": "Docs", "message":"/README/", "release": "patch"},
143-
{"type": "New", "release": "patch"}
143+
{"tag": "New", "release": "patch"}
144144
]
145145
}],
146146
"@semantic-release/release-notes-generator"

0 commit comments

Comments
 (0)