-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v3] [Proposal] Bring prettier to the v3
One of the bigger pain points of backporting fixes and improvements to the v3 is due to the fact that we rely on prettier for the v4 but not on the v3, leading to huge conflicts in the end mostly related to different formatting. This PR proposes that we bring prettier and a similar eslint config to the v3 just to ease comparisons between both major versions. Note that some eslint rules enabled on the v4 are here not enabled, mostly `eqeqeq` and `no-nested-ternaries`(both because that's a lot of work). For that second rule, the fact that we also run prettier may lead to code harder to read than before.
- Loading branch information
1 parent
9be06de
commit f320bb6
Showing
396 changed files
with
1,690 additions
and
2,081 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,4 @@ | ||
{ | ||
"printWidth": 90, | ||
"proseWrap": "always" | ||
} |
Oops, something went wrong.