You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/07/03 02:28:50 UTC

[GitHub] [skywalking-infra-e2e] ethan256 commented on a diff in pull request #77: upgrade to go1.18

ethan256 commented on code in PR #77:
URL: https://github.com/apache/skywalking-infra-e2e/pull/77#discussion_r912420882


##########
.golangci.yml:
##########
@@ -117,14 +117,14 @@ linters:
     - misspell
     - nakedret
     - staticcheck
-    - structcheck
     - stylecheck
     - typecheck
     - unconvert
-    - unparam
     - unused
     - varcheck
     - whitespace
+  disable:
+    - structcheck

Review Comment:
   Because structcheck is disabled in go1.18.  When using the latest version of golangci-lint, the following warning appears
   ```
   make lint
   ...
   WARN [linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org