...

Text file src/github.com/99designs/gqlgen/.golangci.yml

Documentation: github.com/99designs/gqlgen

     1run:
     2  tests: true
     3  skip-dirs:
     4    - bin
     5
     6linters-settings:
     7  errcheck:
     8    ignore: fmt:.*,[rR]ead|[wW]rite|[cC]lose,io:Copy
     9
    10linters:
    11  disable-all: true
    12  enable:
    13    - bodyclose
    14    - dupl
    15    - errcheck
    16    - gocritic
    17    - gofmt
    18    - goimports
    19    - gosimple
    20    - govet
    21    - ineffassign
    22    - misspell
    23    - nakedret
    24    - prealloc
    25    - staticcheck
    26    - typecheck
    27    - unconvert
    28    - unused
    29
    30issues:
    31  exclude-rules:
    32    # Exclude some linters from running on tests files.
    33    - path: _test\.go
    34      linters:
    35        - dupl

View as plain text