aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sirupsen/logrus/.golangci.yml
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2023-12-29 21:31:53 +0100
committerLibravatar Rutger Broekhoff2023-12-29 21:31:53 +0100
commit404aeae4545d2426c089a5f8d5e82dae56f5212b (patch)
tree2d84e00af272b39fc04f3795ae06bc48970e57b5 /vendor/github.com/sirupsen/logrus/.golangci.yml
parent209d8b0187ed025dec9ac149ebcced3462877bff (diff)
downloadgitolfs3-404aeae4545d2426c089a5f8d5e82dae56f5212b.tar.gz
gitolfs3-404aeae4545d2426c089a5f8d5e82dae56f5212b.zip
Make Nix builds work
Diffstat (limited to 'vendor/github.com/sirupsen/logrus/.golangci.yml')
-rw-r--r--vendor/github.com/sirupsen/logrus/.golangci.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/vendor/github.com/sirupsen/logrus/.golangci.yml b/vendor/github.com/sirupsen/logrus/.golangci.yml
new file mode 100644
index 0000000..65dc285
--- /dev/null
+++ b/vendor/github.com/sirupsen/logrus/.golangci.yml
@@ -0,0 +1,40 @@
1run:
2 # do not run on test files yet
3 tests: false
4
5# all available settings of specific linters
6linters-settings:
7 errcheck:
8 # report about not checking of errors in type assetions: `a := b.(MyStruct)`;
9 # default is false: such cases aren't reported by default.
10 check-type-assertions: false
11
12 # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
13 # default is false: such cases aren't reported by default.
14 check-blank: false
15
16 lll:
17 line-length: 100
18 tab-width: 4
19
20 prealloc:
21 simple: false
22 range-loops: false
23 for-loops: false
24
25 whitespace:
26 multi-if: false # Enforces newlines (or comments) after every multi-line if statement
27 multi-func: false # Enforces newlines (or comments) after every multi-line function signature
28
29linters:
30 enable:
31 - megacheck
32 - govet
33 disable:
34 - maligned
35 - prealloc
36 disable-all: false
37 presets:
38 - bugs
39 - unused
40 fast: false