go.mway.dev/math@v0.3.4-0.20220903004814-3c8fcf9df0ca/.golangci.yml (about)

     1  run:
     2    timeout: 5m
     3    issues-exit-code: 1
     4    tests: true
     5    skip-dirs-use-default: true
     6    modules-download-mode: readonly
     7  
     8  output:
     9    format: colored-line-number
    10    print-issued-lines: true
    11    print-linter-name: true
    12  
    13  linters:
    14    enable:
    15      - dogsled
    16      - errcheck
    17      - goconst
    18      - gocyclo
    19      - gofumpt
    20      - goimports
    21      - gosimple
    22      - govet
    23      - ineffassign
    24      - lll
    25      - misspell
    26      - revive
    27      - staticcheck
    28      - typecheck
    29      - unconvert
    30      - unparam
    31      - unused
    32  
    33  linters-settings:
    34    dogsled:
    35      max-blank-identifiers: 2
    36    errcheck:
    37      check-type-assertions: true
    38      check-blank: true
    39    gocyclo:
    40      min-complexity: 10
    41    govet:
    42      check-shadowing: true
    43    lll:
    44      line-length: 100
    45    misspell:
    46      locale: US
    47  
    48  issues:
    49    exclude-rules:
    50      - linters:
    51          - lll
    52        source: "^//go:generate "
    53    exclude-use-default: false
    54    max-issues-per-linter: 0
    55    max-same-issues: 0
    56    new: true