tianxiaoliang commented on a change in pull request #770:
URL: 
https://github.com/apache/servicecomb-service-center/pull/770#discussion_r533016272



##########
File path: .github/workflows/golangci-lint.yml
##########
@@ -10,4 +10,4 @@ jobs:
         uses: golangci/golangci-lint-action@v2
         with:
           version: v1.29
-          args: --timeout=5m 
--skip-dirs='test,pkg/registry,.*/controller/(v3|v4)$,.*/bootstrap$,server/broker/brokerpb,examples,syncer,frontend,scctl,integration'
 --out-format=colored-line-number --enable golint,gocyclo,goimports 
--skip-files=.*_test.go$
\ No newline at end of file
+          args: --timeout=5m 
--skip-dirs='test,pkg/registry,.*/controller/(v3|v4)$,.*/bootstrap$,server/broker/brokerpb,examples,frontend,scctl,integration'
 --out-format=colored-line-number --enable golint,gocyclo,goimports 
--skip-files=.*_test.go$

Review comment:
       --enable golint,gocyclo,goimports指定开启哪些,你可以多开一些,本地的也都加上去




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to