Fix the trailingComma value from "always" to "all" in v2 blog post (#11480)
This commit is contained in:
1 parent
0cc8e96c37
commit
4b2ba45825
1 file changed
+1
-1
@@ -116,7 +116,7 @@ Prettier has included an [option to configure trailing commas](https://prettier.
|
||||
Finally, the default value becomes `es5` instead of `none` in Prettier v2.0.
|
||||
|
||||
If the old behavior is still preferred, please configure Prettier with `{ "trailingComma": "none" }`.
|
||||
There is a possibility that the default value will change to `always` (meaning even more trailing commas) in a future major version of Prettier as the JavaScript ecosystem further matures.
|
||||
There is a possibility that the default value will change to `all` (meaning even more trailing commas) in a future major version of Prettier as the JavaScript ecosystem further matures.
|
||||
|
||||
#### Plugin API: changes in `prettier.util` ([#6993](https://github.com/prettier/prettier/pull/6993) by [@fisker](https://github.com/fisker))
|
||||
|
||||
|
||||
Reference in new issue
Block a user