blob: fce8563e83def5022187e15845d889eeef2fde7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
#
# SPDX-License-Identifier: GPL-2.0-or-later
linters:
disable:
- structcheck # doesn't support Go 1.18 yet
enable:
- gci
- gofmt
- gofumpt
- gosec
- nolintlint
linters-settings:
gci:
sections:
- standard
- default
- prefix(git.lukeshu.com/go/lowmemjson)
gofmt:
simplify: true
gosec:
excludes:
- G104 # duplicates errcheck
nolintlint:
require-explanation: true
require-specific: true
issues:
exclude-use-default: false
exclude-rules:
- path: "borrowed_.*_test\\.go"
linters:
- errcheck
- gofumpt
- gosec
max-issues-per-linter: 0
max-same-issues: 0
|