Skip to content

Commit 92abff0

Browse files
authored
docs: drop Prettier v1 support (#481)
BREAKING CHANGE: drop Prettier v1 support
1 parent 87941fd commit 92abff0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,15 @@ module.exports = {
8888

8989
## Prettier Support
9090

91-
Prettier is a code formatter, which supports not only JavaScript but also other languages.
92-
Prettier is used widely for a code formatter for JavaScript.
91+
Prettier is a code formatter, which supports not only JavaScript but also many languages.
92+
Prettier is used widely as code formatter for JavaScript.
9393

94-
It's an opinionated tool but with Prettier, we don't have to discuss code styles in code review.
95-
(No more bikeshed)
94+
It's opinionated but we don't have to discuss about code styles with Prettier because it's the rule (No more bikeshed).
9695

97-
The presets disable all rules conflicting with Prettier and treat the difference as errors.
96+
The following presets disable all rules that conflict with Prettier and treat the differences between Prettier's code format as errors.
9897
You can fix the errors by `--fix` option so you don't have to fix the errors manually.
9998

100-
In order to this, you have to install `prettier` and choose a preset from the followings.
99+
To use the presets, you have to install `prettier`. We only support Prettier v2 or later versions.
101100

102101
```
103102
% npm install --save-dev prettier

0 commit comments

Comments
 (0)