mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 05:48:01 +00:00
[revive] Update rules
This commit is contained in:
parent
48a32697c9
commit
65173c1664
20
.revive.toml
20
.revive.toml
@ -8,27 +8,25 @@ warningCode = 0
|
|||||||
[rule.context-as-argument]
|
[rule.context-as-argument]
|
||||||
[rule.context-keys-type]
|
[rule.context-keys-type]
|
||||||
[rule.dot-imports]
|
[rule.dot-imports]
|
||||||
|
[rule.empty-block]
|
||||||
|
[rule.error-naming]
|
||||||
[rule.error-return]
|
[rule.error-return]
|
||||||
[rule.error-strings]
|
[rule.error-strings]
|
||||||
[rule.error-naming]
|
[rule.errorf]
|
||||||
[rule.exported]
|
[rule.exported]
|
||||||
Disabled = true
|
Disabled = true
|
||||||
[rule.if-return]
|
[rule.if-return]
|
||||||
[rule.increment-decrement]
|
[rule.increment-decrement]
|
||||||
[rule.var-naming]
|
[rule.indent-error-flow]
|
||||||
[rule.var-declaration]
|
|
||||||
[rule.package-comments]
|
[rule.package-comments]
|
||||||
Disabled = true
|
Disabled = true
|
||||||
[rule.range]
|
[rule.range]
|
||||||
[rule.receiver-naming]
|
[rule.receiver-naming]
|
||||||
|
[rule.redefines-builtin-id]
|
||||||
|
[rule.superfluous-else]
|
||||||
[rule.time-naming]
|
[rule.time-naming]
|
||||||
[rule.unexported-return]
|
[rule.unexported-return]
|
||||||
[rule.indent-error-flow]
|
|
||||||
[rule.errorf]
|
|
||||||
[rule.empty-block]
|
|
||||||
[rule.superfluous-else]
|
|
||||||
[rule.unused-parameter]
|
|
||||||
[rule.unreachable-code]
|
[rule.unreachable-code]
|
||||||
[rule.redefines-builtin-id]
|
[rule.unused-parameter]
|
||||||
[rule.import-shadowing]
|
[rule.var-declaration]
|
||||||
[rule.use-any]
|
[rule.var-naming]
|
||||||
|
Loading…
Reference in New Issue
Block a user