mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2024-11-15 02:45:15 +01:00
fix: replace "refactor!" with "feat!" (#350)
Refactoring by definition "is the process of changing a software system in such a way that it does not alter the external behavior of the code..." So, a refactoring cannot introduce a breaking change, otherwise it is not a refactoring anymore. Using `refactor` commit type and the breaking change marker `!` is a contradiction.
This commit is contained in:
parent
f0aeba39f8
commit
2a5f0308c7
@ -53,14 +53,14 @@ BREAKING CHANGE: `extends` key in config file is now used for extending other co
|
|||||||
|
|
||||||
### Commit message with `!` to draw attention to breaking change
|
### Commit message with `!` to draw attention to breaking change
|
||||||
```
|
```
|
||||||
refactor!: drop support for Node 6
|
feat!: drop support for Node 6
|
||||||
```
|
```
|
||||||
|
|
||||||
### Commit message with both `!` and BREAKING CHANGE footer
|
### Commit message with both `!` and BREAKING CHANGE footer
|
||||||
```
|
```
|
||||||
refactor!: drop support for Node 6
|
feat!: drop support for Node 6
|
||||||
|
|
||||||
BREAKING CHANGE: refactor to use JavaScript features not available in Node 6.
|
BREAKING CHANGE: use JavaScript features not available in Node 6.
|
||||||
```
|
```
|
||||||
|
|
||||||
### Commit message with no body
|
### Commit message with no body
|
||||||
|
Loading…
Reference in New Issue
Block a user