-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
quickfix QF1013: detect quoted string escaping quote, while backticks could be used #1566
Comments
@dominikh suggested adapting https://github.com/dominikh/go-tools/blob/master/simple/s1007/s1007.go on Gopher Slack |
@dominikh how do we attribute a number for the checker I mean the sXXXX ? |
The prefix for quickfixes is |
This could help me to list all strings wherever they are https://github.com/dominikh/go-tools/blob/master/stylecheck%2Fst1018%2Fst1018.go |
+1 to such check |
I didn't find a linter for this so I'm creating an issue here.
I asked Gopher Slack community https://gophers.slack.com/archives/C4MTR76PQ/p1719215628975379
And it appears I was right and this linter/checker doesn't exist yet.
The idea is to be able to report this for any string
This should be an optional rule of course, as it could bring a lot of noise.
I think one could improve the readability of the code
The text was updated successfully, but these errors were encountered: