summaryrefslogtreecommitdiff
path: root/.golangci.yml
blob: fb78da28fe590641187b92fb7b8aa84520de5bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (C) 2022  Luke Shumaker <lukeshu@lukeshu.com>
#
# SPDX-License-Identifier: GPL-2.0-or-later

linters:
  disable:
    - structcheck # doesn't support Go 1.18 yet
  enable:
    - gofmt
linters-settings:
  gofmt:
    simplify: true
issues:
  exclude-rules:
    path: borrowed_example_test.go
    linters: [errcheck]