...

Text file src/github.com/sigstore/timestamp-authority/.golangci.yml

Documentation: github.com/sigstore/timestamp-authority

     1#
     2# Copyright 2022 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    - errcheck
    19    - gofmt
    20    - goimports
    21    - gosec
    22    - gocritic
    23    - misspell
    24    - revive
    25    - unused
    26output:
    27  uniq-by-line: false
    28issues:
    29  exclude-rules:
    30    - path: _test\.go
    31      linters:
    32        - errcheck
    33        - gosec
    34    - path: pkg/signer/tink.go
    35      linters:
    36        - staticcheck
    37      text: SA1019
    38  max-issues-per-linter: 0
    39  max-same-issues: 0
    40run:
    41  issues-exit-code: 1
    42  timeout: 10m

View as plain text