mirror of
https://github.com/vbatts/tar-split.git
synced 2024-12-18 19:46:29 +00:00
Vincent Batts
ec6b1ae20e
There is a discrepancy of behavior of `github.com/urfave/cli` between using go1.12 and go1.15, when the dependency is not present as vendored source. Now this builds fine with go1.12 There are users of tar-split as a package. It is the hope that by adding this vendored source it does not impact them depending on tar-split itself. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
40 lines
974 B
YAML
40 lines
974 B
YAML
run:
|
|
# do not run on test files yet
|
|
tests: false
|
|
|
|
# all available settings of specific linters
|
|
linters-settings:
|
|
errcheck:
|
|
# report about not checking of errors in type assetions: `a := b.(MyStruct)`;
|
|
# default is false: such cases aren't reported by default.
|
|
check-type-assertions: false
|
|
|
|
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
|
|
# default is false: such cases aren't reported by default.
|
|
check-blank: false
|
|
|
|
lll:
|
|
line-length: 100
|
|
tab-width: 4
|
|
|
|
prealloc:
|
|
simple: false
|
|
range-loops: false
|
|
for-loops: false
|
|
|
|
whitespace:
|
|
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
|
|
multi-func: false # Enforces newlines (or comments) after every multi-line function signature
|
|
|
|
linters:
|
|
enable:
|
|
- megacheck
|
|
- govet
|
|
disable:
|
|
- maligned
|
|
- prealloc
|
|
disable-all: false
|
|
presets:
|
|
- bugs
|
|
- unused
|
|
fast: false
|