Skip to content
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

commentignore: Allow leading space #252

Merged
merged 1 commit into from
Feb 4, 2022
Merged

Conversation

armsnyder
Copy link
Contributor

fixes #251

This fixes a regression in v0.28.0 where leading spaces no longer work in the // lintignore comment. ❤️

@bflad bflad self-assigned this Feb 4, 2022
@bflad bflad added ast AST Handling bug Something isn't working labels Feb 4, 2022
@bflad bflad added this to the v0.28.1 milestone Feb 4, 2022
Copy link
Owner

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you for the fix and additional testing, @armsnyder. 🚀 Per convention, the leading spaces are not necessarily correct, however some tooling may errantly insert them and there's no sense introducing the unexpected regression for a relatively minor and undocumented difference.

@bflad bflad merged commit f1c56bf into bflad:main Feb 4, 2022
@armsnyder armsnyder deleted the 251-fix-lintignore branch February 4, 2022 20:47
bflad added a commit that referenced this pull request Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ast AST Handling bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v0.28.0 "// lintignore" regression
2 participants