aboutsummaryrefslogtreecommitdiffstats
path: root/.revive.toml
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2022-01-03 03:30:40 +0800
committerGitHub <noreply@github.com>2022-01-02 19:30:40 +0000
commit948949f42989bbbb701a51cfe9d6bd3cd6b246c8 (patch)
tree45b2e4e49afa0e06ce396cab334007d956e1cf1e /.revive.toml
parent766cb481f71144a150c48b04197a2396f4174baa (diff)
downloadgitea-948949f42989bbbb701a51cfe9d6bd3cd6b246c8.tar.gz
gitea-948949f42989bbbb701a51cfe9d6bd3cd6b246c8.zip
chore(lint): use golangci-lint to call revive and misspell checker. (#18145)
replace revive and misspell with golangci-lint Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Diffstat (limited to '.revive.toml')
-rw-r--r--.revive.toml27
1 files changed, 0 insertions, 27 deletions
diff --git a/.revive.toml b/.revive.toml
deleted file mode 100644
index 54f075f84f..0000000000
--- a/.revive.toml
+++ /dev/null
@@ -1,27 +0,0 @@
-ignoreGeneratedHeader = false
-severity = "warning"
-confidence = 0.8
-errorCode = 1
-warningCode = 1
-
-[rule.blank-imports]
-[rule.context-as-argument]
-[rule.context-keys-type]
-[rule.dot-imports]
-[rule.error-return]
-[rule.error-strings]
-[rule.error-naming]
-[rule.exported]
-[rule.if-return]
-[rule.increment-decrement]
-[rule.var-naming]
-[rule.var-declaration]
-[rule.package-comments]
-[rule.range]
-[rule.receiver-naming]
-[rule.time-naming]
-[rule.unexported-return]
-[rule.indent-error-flow]
-[rule.errorf]
-[rule.duplicated-imports]
-[rule.modifies-value-receiver]