diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-15 15:31:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 15:31:17 +0000 |
commit | 81770cfef39a56cbb25d4ff77e5b6faffc3617f2 (patch) | |
tree | b732067cd25fec60961944e13ed92b29dbed87fb /.luacheckrc | |
parent | fc406133889dc128f44e351c3198994c2e8d1b8e (diff) | |
parent | 3e6346b870da81c586d301cd70ee4ac52abde8fe (diff) | |
download | rspamd-81770cfef39a56cbb25d4ff77e5b6faffc3617f2.tar.gz rspamd-81770cfef39a56cbb25d4ff77e5b6faffc3617f2.zip |
Merge pull request #1132 from fatalbanana/lint
Almost finish linting & integrate luacheck in CI
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.luacheckrc b/.luacheckrc index 2eb10ce1a..2f656c124 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -2,11 +2,16 @@ codes = true std = 'min' exclude_files = { + '/**/contrib/**', + '/**/test/lua/**', } globals = { + 'check_header_delimiter_empty', + 'check_header_delimiter_tab', 'classifiers', 'config', + 'kmail_msgid', 'rspamd_config', 'rspamd_count_metatokens', 'rspamd_gen_metatokens', @@ -21,13 +26,12 @@ globals = { ignore = { } -files['/**/rules/regexp/headers.lua'].globals = { - 'check_header_delimiter_empty', - 'check_header_delimiter_tab', - 'kmail_msgid', -} - files['/**/src/plugins/lua/spamassassin.lua'].globals = { 'ffi', 'jit', } + +files['/**/src/rspamadm/*'].globals = { + 'ansicolors', + 'getopt', +} |