diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-11 16:13:18 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-12 17:39:42 +0300 |
commit | 71c6643aae2f1b3c9380c5e66d10a142947078f4 (patch) | |
tree | 133f61e7fecfa169f1916af7019006a577f683cb /.golangci.yml | |
parent | 76cfa5c9141ea5a9dae83eb2574428721de4842d (diff) |
lint: Remove "noctx" linter exception
The noctx linter labels code which should use a context but doesn't.
We've got a single location in our tests which violate this linter,
which is why we have an exception for this linter in place.
Fix this callsite and remove the exception.
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/.golangci.yml b/.golangci.yml index d759970cb..35d0d111d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -706,9 +706,6 @@ issues: - linters: - stylecheck text: "at least one file in a package should have a package comment" - - path: "_test.go" - linters: - - noctx # Maximum issues count per one linter. Set to 0 to disable. Default is 50. max-issues-per-linter: 0 # Maximum count of issues with the same text. Set to 0 to disable. Default is 3. |