padded blocks should allow single lines. #11449
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
auto closed
The bot closed this issue
enhancement
This change enhances an existing feature of ESLint
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
rule
Relates to ESLint's core rules
I've been following #7145 and other similar issues and thought the option
allowSingleLineBlocks
would fix this. I am actually looking for a rule which:What rule do you want to change?
padded-blocks
Does this change cause the rule to produce more or fewer warnings?
Fewer.
How will the change be implemented? (New option, new default behavior, etc.)?
New option.
Please provide some example code that this change will affect:
What does the rule currently do for this code?
Warn or nothing depending on the settings.
What will the rule do after it's changed?
Produce less warnings.
Are you willing to submit a pull request to implement this change?
Sure, but I wouldn't know where to get started 😄 .
The text was updated successfully, but these errors were encountered: