Replies: 1 comment
-
Hi, there are existing analyzers on the topic, but there are not inside golangci-lint because of their false-postives. https://github.com/devnev/refdir |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Imagine you have function foo() which uses subFoo(), and subFoo() is only used inside foo().
Now I would like to have a linter which checks that in the source code foo() comes first, and then subFoo().
Is there already something like this?
Beta Was this translation helpful? Give feedback.
All reactions