aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-15 14:45:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-15 14:45:40 +0100
commit5f76f5aead54e03b8048a3d707a6acac3b599ec7 (patch)
treefdbf7db551c6f304d58c00ed4bc49f7a0712a1c4 /.luacheckrc
parent73d2cee82a5d55a239c628c21454137027a29db2 (diff)
downloadrspamd-5f76f5aead54e03b8048a3d707a6acac3b599ec7.tar.gz
rspamd-5f76f5aead54e03b8048a3d707a6acac3b599ec7.zip
[Minor] Try use math.tanh if available
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index c2212c23a..871aa4811 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -52,6 +52,9 @@ files['/**/src/plugins/lua/spamassassin.lua'].globals = {
files['/**/src/plugins/lua/greylist.lua'].globals = {
'math.ifloor',
}
+files['/**/src/plugins/lua/reputation.lua'].globals = {
+ 'math.tanh',
+}
files['/**/lualib/lua_util.lua'].globals = {
'table.unpack',