podman
62 строки · 1.4 Кб
1# Copyright 2013-2023 The Cobra Authors
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
15run:16deadline: 5m17
18linters:19disable-all: true20enable:21#- bodyclose22# - deadcode ! deprecated since v1.49.0; replaced by 'unused'23#- depguard24#- dogsled25#- dupl26- errcheck27#- exhaustive28#- funlen29- gas30#- gochecknoinits31- goconst32#- gocritic33#- gocyclo34#- gofmt35- goimports36- golint37#- gomnd38#- goprintffuncname39#- gosec40#- gosimple41- govet42- ineffassign43- interfacer44#- lll45- maligned46- megacheck47#- misspell48#- nakedret49#- noctx50#- nolintlint51#- rowserrcheck52#- scopelint53#- staticcheck54#- structcheck ! deprecated since v1.49.0; replaced by 'unused'55#- stylecheck56#- typecheck57- unconvert58#- unparam59- unused60# - varcheck ! deprecated since v1.49.0; replaced by 'unused'61#- whitespace62fast: false63