github.com/tilt-dev/tilt@v0.36.0/.golangci.yml (about)

     1  version: "2"
     2  run:
     3    go: "1.24"
     4    build-tags:
     5      - integration
     6    modules-download-mode: vendor
     7    allow-parallel-runners: true
     8  output:
     9    formats:
    10      text:
    11        path: stdout
    12        print-linter-name: true
    13        print-issued-lines: true
    14  linters:
    15    default: none
    16    enable:
    17      - copyloopvar
    18      - errcheck
    19      - govet
    20      - ineffassign
    21      - misspell
    22      - unconvert
    23      - unused
    24    settings:
    25      errcheck:
    26        check-type-assertions: false
    27        check-blank: false
    28      govet:
    29        settings:
    30          printf:
    31            funcs:
    32              - Verbosef
    33              - Infof
    34              - Debugf
    35              - PrintColorf
    36      misspell:
    37        locale: US
    38        ignore-rules:
    39          - servantes
    40          - cancelled
    41    exclusions:
    42      generated: lax
    43      presets:
    44        - comments
    45        - common-false-positives
    46        - legacy
    47        - std-error-handling
    48      rules:
    49        - linters:
    50            - staticcheck
    51          text: 'SA1019:'
    52        - linters:
    53            - staticcheck
    54          text: 'S1008:'
    55        - linters:
    56            - errcheck
    57          path: _test\.go
    58        - linters:
    59            - unconvert
    60          path: types.go
    61      paths:
    62        - zz_generated.*\.go$
    63        - vendored_openapi\.go$
    64        - third_party$
    65        - builtin$
    66        - examples$
    67  formatters:
    68    enable:
    69      - goimports
    70    settings:
    71      goimports:
    72        local-prefixes:
    73          - github.com/tilt-dev
    74    exclusions:
    75      generated: lax
    76      paths:
    77        - zz_generated.*\.go$
    78        - vendored_openapi\.go$
    79        - third_party$
    80        - builtin$
    81        - examples$