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

format: treat noinspection as comment directive #179

Merged
merged 1 commit into from
Dec 16, 2021
Merged

format: treat noinspection as comment directive #179

merged 1 commit into from
Dec 16, 2021

Conversation

scop
Copy link
Contributor

@scop scop commented Dec 16, 2021

Used by some versions of GoLand and friends,
https://www.jetbrains.com/help/go/disabling-and-enabling-inspections.html

New versions use //goland:noinspection instead/additionally, but it doesn't hurt much to support the older (and still the only documented) one.

Copy link
Owner

@mvdan mvdan left a comment

Choose a reason for hiding this comment

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

SGTM, just one nit

Used by some versions of GoLand and friends,
https://www.jetbrains.com/help/go/disabling-and-enabling-inspections.html

New versions use `//goland:noinspection` instead/additionally, but it
doesn't hurt much to support the older (and still the only documented)
one.
@mvdan mvdan merged commit 4e57a27 into mvdan:master Dec 16, 2021
@scop scop deleted the noinspection-directive branch December 16, 2021 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants