You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that this could be useful. I could see a case for either RUF010 (the RUF rules aren't meaningfully categorized by code, so it's fine to just use the next available), or ERA002 (since ERA001 deals with commented-out code). Leaning towards RUF010 though to avoid deviating from an "upstream" plugin.
I couldn't find a rule for removing blank comments, so I made one myself.
I can submit a PR if you find that useful, I only need to know what error code to use (I currently use
RUF101
locally)What it does
Check for blank comments.
Why is this bad?
Blank comments are useless and should be removed.
Example
Use instead:
The text was updated successfully, but these errors were encountered: