-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2ecb37
commit dc374da
Showing
4 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Migrating from 1.2.x to 2.0.0 | ||
|
||
Starting with release 2.0.0 multiple word replacement options are now possible. If you just use the standard configuration this won't have an effect. | ||
|
||
If you maintain a custom configuration you will have to update the keyword `suggestion` to the plural form `suggestions`. The value type needs to switch from an array to a string of arrays. | ||
|
||
Before 2.0.0: | ||
|
||
```json | ||
{ | ||
"word": "guys", | ||
"suggestion": "people", // This line | ||
"explanation": "The usage of the non-inclusive word '{{word}}' is discouraged, use '{{suggestion}}' instead." | ||
} | ||
``` | ||
|
||
Starting with 2.0.0: | ||
|
||
```json | ||
{ | ||
"word": "guys", | ||
"suggestions": ["people"], // This line | ||
"explanation": "The usage of the non-inclusive word '{{word}}' is discouraged, use '{{suggestion}}' instead." | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters