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

bug: checking go directives #44

Closed
lukasmwerner opened this issue Mar 2, 2024 · 1 comment
Closed

bug: checking go directives #44

lukasmwerner opened this issue Mar 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lukasmwerner
Copy link
Collaborator

When using Harper on Go codebases it would be nice to ignore checking Go comments that start with //go:* as these comments are directives for the compiler. The following is a example:

//go:embed templates/login.html
var LoginPageHTML string

The documentation on this Go feature is here

@lukasmwerner lukasmwerner added the bug Something isn't working label Mar 2, 2024
@elijah-potter
Copy link
Owner

This has been implemented as of the latest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants