Debian Codegraph @

.golangci.yaml

raw
1 # Copyright 2024 The Archivista 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 version: "2"
16 linters:
17 enable:
18 - gosec
19 exclusions:
20 generated: lax
21 presets:
22 - comments
23 - common-false-positives
24 - legacy
25 - std-error-handling
26 rules:
27 - linters:
28 - gosec
29 path: _test.go
30 paths:
31 - third_party$
32 - builtin$
33 - examples$
34 issues:
35 max-same-issues: 50
36 formatters:
37 exclusions:
38 generated: lax
39 paths:
40 - third_party$
41 - builtin$
42 - examples$