| 1 |
# SPDX-License-Identifier: MPL-2.0 |
| 2 |
|
| 3 |
# Copyright (C) 2025 Aleksa Sarai <[email protected]> |
| 4 |
# Copyright (C) 2025 SUSE LLC |
| 5 |
# |
| 6 |
# This Source Code Form is subject to the terms of the Mozilla Public |
| 7 |
# License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 |
# file, You can obtain one at https://mozilla.org/MPL/2.0/. |
| 9 |
|
| 10 |
version: "2" |
| 11 |
|
| 12 |
linters: |
| 13 |
enable: |
| 14 |
- asasalint |
| 15 |
- asciicheck |
| 16 |
- containedctx |
| 17 |
- contextcheck |
| 18 |
- errcheck |
| 19 |
- errorlint |
| 20 |
- exhaustive |
| 21 |
- forcetypeassert |
| 22 |
- godot |
| 23 |
- goprintffuncname |
| 24 |
- govet |
| 25 |
- importas |
| 26 |
- ineffassign |
| 27 |
- makezero |
| 28 |
- misspell |
| 29 |
- musttag |
| 30 |
- nilerr |
| 31 |
- nilnesserr |
| 32 |
- nilnil |
| 33 |
- noctx |
| 34 |
- prealloc |
| 35 |
- revive |
| 36 |
- staticcheck |
| 37 |
- testifylint |
| 38 |
- unconvert |
| 39 |
- unparam |
| 40 |
- unused |
| 41 |
- usetesting |
| 42 |
settings: |
| 43 |
govet: |
| 44 |
enable: |
| 45 |
- nilness |
| 46 |
testifylint: |
| 47 |
enable-all: true |
| 48 |
|
| 49 |
formatters: |
| 50 |
enable: |
| 51 |
- gofumpt |
| 52 |
- goimports |
| 53 |
settings: |
| 54 |
goimports: |
| 55 |
local-prefixes: |
| 56 |
- github.com/cyphar/filepath-securejoin |