summaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 12:40:15 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-03-25 12:40:15 +0000
commit0dd7203ee541be133c5fab808305146fc311c4f0 (patch)
treed3de4db20499b7e08dbc27da13f6e349a8ae1e95 /.luacheckrc
parentc3646183acf81ebf630cba1615d7ebf6105ee388 (diff)
downloadrspamd-0dd7203ee541be133c5fab808305146fc311c4f0.tar.gz
rspamd-0dd7203ee541be133c5fab808305146fc311c4f0.zip
[Minor] Move redis scripts from ratelimit file to simplify checks
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 099d9ab65..d5a18cc3b 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -60,6 +60,11 @@ files['/**/lualib/lua_redis.lua'].globals = {
'rspamadm_ev_base',
}
+files['/**/lualib/redis_scripts/**'].globals = {
+ 'redis',
+ 'KEYS',
+}
+
files['/**/src/rspamadm/*'].globals = {
'ansicolors',
'getopt',