-
Notifications
You must be signed in to change notification settings - Fork 59
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
Remove hardcoded file ignore string check #11
Remove hardcoded file ignore string check #11
Conversation
What do you mean by "most linter drivers, especially nogo, are now able to respect |
Rephrased the PR decription 👍 |
b6391b7
to
92dced1
Compare
1bb9133
to
717021a
Compare
e5deadf
to
2d16cfe
Compare
64b66ac
to
2a06f68
Compare
2d16cfe
to
c265f5b
Compare
f665ba1
to
7456a3b
Compare
c265f5b
to
6c21883
Compare
7456a3b
to
e92f4de
Compare
b07ae5d
to
eb66fc4
Compare
e92f4de
to
6990af9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
6990af9
to
d6e0736
Compare
eb66fc4
to
c725ec0
Compare
d6e0736
to
fe2b512
Compare
1ce63c1
to
42256c8
Compare
fe2b512
to
4db2508
Compare
42256c8
to
6a44aa6
Compare
6a44aa6
to
d5a242f
Compare
This PR removes the hardcoded `nolint:nilaway` docstring check for both files and function declarations since it is no longer necessary: * files: we have implemented configuration analyzer in #9 which is able to take a list of strings to ignore the analysis of a file. * function declaration: it is mainly designed for two reasons: * performance: we were able to use it to manually skip the analysis of a particular function for performance reasons. However, we now have a timeout for analysis of any particular function, hence this is no longer required. * error suppression: most linter drivers, especially nogo, are now respecting `nolint`, so there is really no need to support it within the linter itself. Depends on #10
This PR removes the hardcoded
nolint:nilaway
docstring check for both files and function declarations since it is no longer necessary:files: we have implemented configuration analyzer in Add a NilAway config analyzer for parsing and sharing configurations #9 which is able to take a list of strings to ignore the analysis of a file.
function declaration: it is mainly designed for two reasons:
nolint
, so there is really no need to support it within the linter itself.Depends on #10