blob: 4ac5ccb4af3d8dc6aefd63a50813f49392554fe0 (
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
|
# 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
linters-settings:
gci:
sections:
- standard
- default
- prefix(git.lukeshu.com/go/lowmemjson)
gofmt:
simplify: true
issues:
exclude-use-default: false
exclude-rules:
- path: "borrowed_.*_test\\.go"
linters:
- errcheck
- gofumpt
max-issues-per-linter: 0
max-same-issues: 0
|