aboutsummaryrefslogtreecommitdiffstats
path: root/.revive.toml
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2021-12-26 14:56:14 +0000
committerGitHub <noreply@github.com>2021-12-26 22:56:14 +0800
commita2afd38f25032c996499ce047fd51789f4fba861 (patch)
treec0eec8ced89f52171e21ba2c56dcaa6e880c70b6 /.revive.toml
parent4da2eabd7f711fd4aaf3345ed180a850859cebbe (diff)
downloadgitea-a2afd38f25032c996499ce047fd51789f4fba861.tar.gz
gitea-a2afd38f25032c996499ce047fd51789f4fba861.zip
Enable linter [rule.modifies-value-receiver] and refactor RoleDescriptor (#18093)
Diffstat (limited to '.revive.toml')
-rw-r--r--.revive.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.revive.toml b/.revive.toml
index 499a4051a1..54f075f84f 100644
--- a/.revive.toml
+++ b/.revive.toml
@@ -24,3 +24,4 @@ warningCode = 1
[rule.indent-error-flow]
[rule.errorf]
[rule.duplicated-imports]
+[rule.modifies-value-receiver]