forked from dtaniwaki/cron-hpa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
46 lines (44 loc) · 953 Bytes
/
.golangci.yaml
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
run:
timeout: 30m
linters-settings:
govet:
enable-all: true
disable:
- shadow
- atomicalign
- fieldalignment
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-naming
- name: var-naming
gci:
sections:
# Standard section: captures all standard packages.
- standard
# Default section: contains all imports that could not be matched to another section type.
- default
# Custom section: groups all imports with the specified Prefix.
- prefix(github.com/ubie-oss)
skip-generated: true
custom-order: true
linters:
disable-all: true
enable:
- testifylint
- tparallel
- bodyclose
- gofumpt
- containedctx
- tenv
- govet
- ineffassign
- staticcheck
- unused
- exportloopref
- gci
- ginkgolinter
- gocritic
- makezero
- misspell
- prealloc
- revive