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

Add SA9009 #1480

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add SA9009 #1480

wants to merge 3 commits into from

Conversation

echlebek
Copy link
Sponsor Contributor

@echlebek echlebek commented Dec 14, 2023

This commit adds SA9009, a check that looks for ineffectual Go compiler directives. The check flags comments that appear to be valid Go compiler directives, but have tabs or spaces between the start of the comment block and the directive itself.

Closes #1120

echlebek and others added 3 commits December 13, 2023 16:31
This commit adds SA9009, a check that looks for ineffectual Go compiler
directives. The check flags comments that appear to be valid Go compiler
directives, but have tabs or spaces between the start of the comment
block and the directive itself.

Signed-off-by: Eric Chlebek <eric@sensu.io>
Signed-off-by: Eric Chlebek <eric@sensu.io>
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.

staticcheck: make it impossible to write e.g. "// go:nosplit"
1 participant