github.com/AbsaOSS/env-binder@v1.0.1/.golangci.yaml (about)

     1  # Copyright 2021 The k8gb Contributors.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  #
    15  # Generated by GoLic, for more details see: https://github.com/AbsaOSS/golic
    16  linters:
    17    disable-all: true
    18    enable:
    19      - bodyclose
    20      - deadcode
    21      - errcheck
    22      - gocritic
    23      - goimports
    24      - revive
    25      - gosec
    26      - gosimple
    27      - govet
    28      - ineffassign
    29      - misspell
    30      - nakedret
    31      - lll
    32      - noctx
    33      - rowserrcheck
    34      - staticcheck
    35      - structcheck
    36      - stylecheck
    37      - typecheck
    38      - unconvert
    39      - unparam
    40      - unused
    41      - varcheck
    42      - depguard
    43      - dogsled
    44      - exportloopref
    45      - goconst
    46      - goprintffuncname
    47      - nolintlint
    48      - dupl
    49      - gochecknoinits
    50  
    51  run:
    52    deadline: 3m
    53  linters-settings:
    54    lll:
    55      line-length: 150
    56  
    57  issues:
    58    exclude-rules:
    59      - path: bind_test.go
    60        linters:
    61          - structcheck
    62          - unused