Opposite of RCS0008 namely "REMOVE blank line between closing brace and next statement"
Open
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 294
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 4
Description
It would be great if there was an opposite rule to:
RCS0008: Add blank line between closing brace and next statement
which instead removes blank lines inside methods after closing braces. Lot of LLMs output a lot of blank lines and it's a constant chore to cleanup.
Proposed description `Remove blank line between closing brace and next statement`
Contributor guide
Research direction
Start by locating the implementation and tests for RCS0008, which adds a blank line between a closing brace and the next statement. Add the opposite rule for blank lines after closing braces inside methods, using the proposed description, and add or update tests to cover the expected cleanup behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100