-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove prettier v2 #5169
remove prettier v2 #5169
Conversation
@@ -1,4 +1,5 @@ | |||
{ | |||
"name": "socket.io", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change makes package-lock.json
to contain a stable root package name (otherwise it uses the directory name)
.prettierrc.json
Outdated
@@ -0,0 +1,3 @@ | |||
{ | |||
"trailingComma": "es5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have strong preference on prettier config. It's just this options creates fewer diffs.
5df244e
to
883143c
Compare
883143c
to
66b2cf6
Compare
@jokester thanks a lot 👍 I've removed the custom configuration, because I think the main purpose of prettier is to be opinionated. |
The kind of change this PR does introduce
Current behavior
2 versions of prettier, respectively v2 and v3, get installed.
New behavior
Only use prettier v3
Other information (e.g. related issues)