summaryrefslogtreecommitdiff
path: root/vendor/github.com/sirupsen/logrus/.golangci.yml
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-03-24 09:18:56 +0000
committerDaniel J Walsh <dwalsh@redhat.com>2020-03-24 05:27:57 -0400
commitee45149d33b69e8cbee02cdf431f086b343577f0 (patch)
tree595e53d058ef6fa50741f005f4a98c2d90598683 /vendor/github.com/sirupsen/logrus/.golangci.yml
parenta2ffd5c230ea6f53ed40ccc60e869164fee41899 (diff)
downloadpodman-ee45149d33b69e8cbee02cdf431f086b343577f0.tar.gz
podman-ee45149d33b69e8cbee02cdf431f086b343577f0.tar.bz2
podman-ee45149d33b69e8cbee02cdf431f086b343577f0.zip
Bump github.com/sirupsen/logrus from 1.4.2 to 1.5.0
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.4.2 to 1.5.0. - [Release notes](https://github.com/sirupsen/logrus/releases) - [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md) - [Commits](https://github.com/sirupsen/logrus/compare/v1.4.2...v1.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
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 000000000..65dc28503
--- /dev/null
+++ b/vendor/github.com/sirupsen/logrus/.golangci.yml
@@ -0,0 +1,40 @@
+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