-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style/Next autocorrection breaks indentation in some cases #2450
Comments
Unless I'm completely wrong, |
See this comment for an explanation of why the |
@jonas054 So what would be the best solution here? Maybe allowing autocorrections which leave offenses in the corrected code (with the expectation that they will be corrected by other cops) is not a good idea? |
That's what we usually do, but |
So then we should consider this a bug. Right? |
Yes, I think so. |
I'm about to push a fix for this one to my open PR. |
The following file
gets autocorrected to
introducing a
Lint/EndAlignment
offense.The text was updated successfully, but these errors were encountered: