.golangci.yaml add defaults back in to godoc

This commit is contained in:
Hayley Swimelar 2019-12-13 12:15:29 -08:00
parent c6a3ac68e5
commit 223bebbf27

View file

@ -49,7 +49,6 @@ run:
# the dependency descriptions in go.mod.
# modules-download-mode: readonly|release|vendor
# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
@ -61,7 +60,6 @@ output:
# print linter name in the end of issue text, default is true
print-linter-name: true
# all available settings of specific linters
linters-settings:
errcheck:
@ -204,6 +202,9 @@ linters-settings:
# report any comments starting with keywords, this is useful for TODO or FIXME comments that
# might be left in the code accidentally and should be resolved before merging
keywords: # default keywords are TODO, BUG, and FIXME, these can be overwritten by this setting
- TODO
- BUG
- FIXME
- NOTE
- OPTIMIZE # marks code that should be optimized before merging
- HACK # marks hack-arounds that should be removed before merging
@ -274,7 +275,6 @@ linters:
# - maligned
# - prealloc
issues:
# List of regexps of issue texts to exclude, empty list by default.
# But independently from this option we use default exclude patterns,