-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:awaiting responseIssues that require answers to questions from maintainers before action can be takenIssues that require answers to questions from maintainers before action can be taken
Description
I updated to latest version of prettier today and prettier added these type of changes
- reducer(state, { payload: { id, aspects } }) {
+ reducer(
+ state,
+ {
+ payload: { id, aspects },
+ }
+ ) {-export default connect(mapStateToProps, mapDispatchToProps)(Account);
+export default connect(
+ mapStateToProps,
+ mapDispatchToProps
+)(Account);Which looks ugly, makes it harder to read (first one especially) and IMHO is kinda unnecessary.
Can we add an option to disable this if it's within printWidth?
Prettier RC:
---
singleQuote: true
trailingComma: es5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:awaiting responseIssues that require answers to questions from maintainers before action can be takenIssues that require answers to questions from maintainers before action can be taken