-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Docs: Clarify option "multiline" for object-curly-newline #11634
Copy link
Copy link
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussiondocumentationRelates to ESLint's documentationRelates to ESLint's documentationgood first issueGood for people who haven't worked on ESLint beforeGood for people who haven't worked on ESLint beforehelp wantedThe team would welcome a contribution from the community for this issueThe team would welcome a contribution from the community for this issueruleRelates to ESLint's core rulesRelates to ESLint's core rules
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussiondocumentationRelates to ESLint's documentationRelates to ESLint's documentationgood first issueGood for people who haven't worked on ESLint beforeGood for people who haven't worked on ESLint beforehelp wantedThe team would welcome a contribution from the community for this issueThe team would welcome a contribution from the community for this issueruleRelates to ESLint's core rulesRelates to ESLint's core rules
The problem you want to solve.
The docs for option multiline for object-curly-newline failed to mention that when the contained properties is single line, line breaks are disallowed.
Your take on the correct solution to problem.
The same issue holds for
array-bracket-newline.Are you willing to submit a pull request to implement this change?
Yes.