diff options
Diffstat (limited to 'vendor/xorm.io/xorm/.revive.toml')
-rw-r--r-- | vendor/xorm.io/xorm/.revive.toml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/xorm.io/xorm/.revive.toml b/vendor/xorm.io/xorm/.revive.toml index 64e223bbfa..6dec7465ae 100644 --- a/vendor/xorm.io/xorm/.revive.toml +++ b/vendor/xorm.io/xorm/.revive.toml @@ -15,6 +15,7 @@ warningCode = 1 [rule.if-return] [rule.increment-decrement] [rule.var-naming] + arguments = [["ID", "UID", "UUID", "URL", "JSON"], []] [rule.var-declaration] [rule.package-comments] [rule.range] @@ -22,4 +23,5 @@ warningCode = 1 [rule.time-naming] [rule.unexported-return] [rule.indent-error-flow] -[rule.errorf]
\ No newline at end of file +[rule.errorf] +[rule.struct-tag]
\ No newline at end of file |