github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/.golangci.yml (about)

     1  run:
     2    tests: false
     3  
     4  linters-settings:
     5    lll:
     6      line-length: 100
     7  
     8  linters:
     9    disable-all: true
    10    enable:
    11      - errcheck
    12      - ineffassign
    13      - gas
    14      - gofmt
    15      - golint
    16      - gosimple
    17      - govet
    18      - lll
    19      - varcheck
    20      - unused
    21  
    22  issues:
    23    # Excluding configuration per-path, per-linter, per-text and per-source
    24    exclude-rules:
    25      - linters:
    26          - golint
    27        text: "(const|var|type|method|func|struct field) .+ should be"
    28      - linters:
    29          - golint
    30        text: "(method parameter|func parameter|func result) .+ should be"