Skip to content

Commit f20648b

Browse files
committed
feat: golangci/golangci-lint#1182 にかんけいしてそうなんですが、だめでした
1 parent 24f2a10 commit f20648b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.golangci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# linters:
2+
# # disable-all: true
3+
# enable:
4+
# # - gofumpt
5+
# # - durationcheck
6+
# # - forcetypeassert
7+
# # TODO: そのうち入れたいlinterのオプション
8+
# # - gocognit
9+
# # - goconst
10+
# # - gocritic
11+
# # - disabled-checks:
12+
# # - captLocal
13+
# # - gochecknoglobals
14+
# # - errorlint
15+
# # - exhaustive
16+
# - funlen
17+
# issues:
18+
# max-same-issues: 0
19+
# exclude-rules:
20+
# # Exclude some linters from running on tests files.
21+
# - path: _test\.go
22+
# linters:
23+
# - forcetypeassert
24+
linters-settings:
25+
custom:
26+
example:
27+
type: goplugin
28+
path: /Users/oonuma/work/private/go-detect-info-logging/m
29+
description: custom linter
30+
original-url: github.com/golangci/example-linter

0 commit comments

Comments
 (0)