-
Notifications
You must be signed in to change notification settings - Fork 2
/
.golangci.yml
53 lines (50 loc) · 1.01 KB
/
.golangci.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
run:
deadline: 10m
#build-tags:
# - integration
skip-dirs:
- assets
- build
- configs
- docs
- internal/goa/service/resume/gen
- scripts
- web
linters-settings:
misspell:
locale: US
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: github.com/hiromaily/,resume/gen/
gci:
sections:
- standard
- default
- prefix(github.com/hiromaily/go-goa)
#issues:
# exclude:
# - type name will be used
# - "HeaderMap is deprecated: HeaderMap exists"
# exclude-use-default: false
linters:
#disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
#- goimports # somehow it conflicts with gofumpt
- misspell
disable:
- gofumpt
- goimports
- gci
presets:
# only next presets exist: (bugs|complexity|format|performance|style|unused)
- format
- unused
fast: false