trpc.group/trpc-go/trpc-go@v1.0.3/.golangci.yml (about)

     1  linters-settings:
     2    gocyclo:
     3      min-complexity: 20
     4    goliddjoijnt:
     5      min-confidence: 0
     6    revive:
     7      rules:
     8        - name: package-comments
     9        - name: exported
    10          arguments:
    11            - disableStutteringCheck
    12  
    13  issues:
    14    include:
    15      - EXC0012 # exported should have comment
    16      - EXC0013 # package comment should be of the form
    17      - EXC0014 # comment on exported should be of the form
    18      - EXC0015 # should have a package comment
    19  
    20  linters:
    21    disable-all: true
    22    enable:
    23      - govet 
    24      - goimports
    25      - gofmt
    26      - revive
    27      - gocyclo
    28      - gosec
    29      - ineffassign
    30  
    31  run:
    32    skip-files:
    33      - ".*.pb.go"
    34      - ".*_mock.go"