...
1#
2# Copyright 2021 The Sigstore Authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16linters:
17 enable:
18 - unused
19 - errcheck
20 - gofmt
21 - goimports
22 - gosec
23 - gocritic
24 - revive
25 - misspell
26output:
27 uniq-by-line: false
28issues:
29 exclude-rules:
30 - path: _test\.go
31 linters:
32 - errcheck
33 - gosec
34 # TODO, tracked in #286
35 - text: "SA1019: package golang.org/x/crypto/openpgp"
36 linters:
37 - staticcheck
38 max-issues-per-linter: 0
39 max-same-issues: 0
40run:
41 issues-exit-code: 1
42 timeout: 10m
View as plain text