-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.golangci.yml
51 lines (46 loc) · 1.03 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
# Copyright 2021 Adam Chalkley
#
# https://github.com/atc0005/check-vmware
#
# Licensed under the MIT License. See LICENSE file in the project root for
# full license information.
issues:
# equivalent CLI flag: --exclude-use-default
#
# see:
# atc0005/todo#29
# golangci-lint/golangci-lint#1249
# golangci-lint/golangci-lint#413
exclude-use-default: false
linters:
enable:
# https://github.com/atc0005/go-ci/issues/1024
# - depguard
- dogsled
- dupl
- goconst
- gocritic
- gofmt
- goimports
- revive
- gosec
- govet
- misspell
- prealloc
- exportloopref
- stylecheck
- unconvert
# disable:
# - maligned
linters-settings:
govet:
enable-all: true
#
# Disable fieldalignment settings until the Go team offers more control over
# the types of checks provided by the fieldalignment linter or golangci-lint
# does so.
#
# See https://github.com/atc0005/go-ci/issues/302 for more information.
#
disable:
- fieldalignment