Closed
Description
What rule do you want to change?
brace-style
Does this change cause the rule to produce more or fewer warnings?
more
How will the change be implemented? (New option, new default behavior, etc.)?
new default behavior
Please provide some example code that this change will affect:
if (condition) { doThisThing() } else {
otherwiseDoThis()
}
What does the rule currently do for this code?
It does not produce an error
What will the rule do after it's changed?
Produce an error indicating that you are mixing allowSingleLine with multiple lines
Are you willing to submit a pull request to implement this change?
yes
Metadata
Metadata
Assignees
Labels
This issue has been archived; please open a new issue for any further discussionThe bot closed this issueRelates to ESLint's documentationThis change enhances an existing feature of ESLintThe team will evaluate this issue to decide whether it meets the criteria for inclusionRelates to ESLint's core rules