Skip to content

Commit 2348eb0

Browse files
committed
docs: fix conventional-changelog-eslint example
1 parent 4cf763e commit 2348eb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ With the previous example the release type determined by the plugin will be `min
131131

132132
##### Specific commit properties
133133

134-
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`.
134+
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`.
135135

136136
For example with `eslint` preset:
137137
```json
@@ -141,7 +141,7 @@ For example with `eslint` preset:
141141
"preset": "eslint",
142142
"releaseRules": [
143143
{"tag": "Docs", "message":"*README*", "release": "patch"},
144-
{"type": "New", "release": "patch"}
144+
{"tag": "New", "release": "patch"}
145145
]
146146
}],
147147
"@semantic-release/release-notes-generator"

0 commit comments

Comments
 (0)