.revive.toml 496 B

1234567891011121314151617181920212223242526
  1. ignoreGeneratedHeader = false
  2. severity = "warning"
  3. confidence = 0.8
  4. errorCode = 1
  5. warningCode = 1
  6. [rule.blank-imports]
  7. [rule.context-as-argument]
  8. [rule.context-keys-type]
  9. [rule.dot-imports]
  10. [rule.error-return]
  11. [rule.error-strings]
  12. [rule.error-naming]
  13. [rule.exported]
  14. [rule.if-return]
  15. [rule.increment-decrement]
  16. [rule.var-naming]
  17. [rule.var-declaration]
  18. [rule.package-comments]
  19. [rule.range]
  20. [rule.receiver-naming]
  21. [rule.time-naming]
  22. [rule.unexported-return]
  23. [rule.indent-error-flow]
  24. [rule.errorf]