grafana/scripts/go/configs/revive.toml
Oleg Gaidarenko 756da8a134
Fix: tighten revive exit code & make it happy (#17127)
* Revive should fail the build

* Fix the associated errors
2019-05-17 08:35:37 +03:00

26 lines
546 B
TOML

ignoreGeneratedHeader = false
severity = "error"
confidence = 0.8
errorCode = 1
[rule.context-as-argument]
[rule.error-return]
[rule.package-comments]
[rule.range]
[rule.superfluous-else]
[rule.modifies-parameter]
[rule.indent-error-flow]
[rule.error-strings]
[rule.error-naming]
# This can be checked by other tools like megacheck
[rule.unreachable-code]
# Those are probably should be enabled at some point
# [rule.unexported-return]
# [rule.exported]
# [rule.var-naming]
# [rule.dot-imports]
# [rule.receiver-naming]
# [rule.blank-imports]