[Feature]: Uncrustify settings enforcing no black line after a conditional #231
Labels
state:needs-maintainer-feedback
Needs more information from a maintainer to determine next steps
state:needs-triage
Needs to triaged to determine next steps
state:stale
Has not been updated in a long time
type:feature-request
A new feature proposal
urgency:low
Little to no impact
Feature Overview
A lot of times the code line following a conditional is directly tied to the outcome of the check and it makes sense not to have blank lines inserted.
But if the next line is starting an unrelated task that has it's own comments, not having a blank line to help highlight the comments can make readability harder.
For instance, this code snippet is the original prior to running uncrustify:
Running uncrustify removes line 3, pushing the comment directly up under the IF statement making the comment hard to distinguish:
Solution Overview
Can we have the uncrustify.cfg file updated to remove the enforcement of no blank line after a conditional?
Alternatives Considered
No response
Urgency
Low
Are you going to implement the feature request?
Someone else needs to implement the feature
Do you need maintainer feedback?
Maintainer feedback requested
Anything else?
No response
The text was updated successfully, but these errors were encountered: