diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-14 20:39:16 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-15 17:30:39 +0200 |
commit | da83f5296a9e41bc55c8a5bd83fdc3bfd7bf5f54 (patch) | |
tree | 14bc67a2c9af086a375335621457f404df6bea19 /.luacheckrc | |
parent | fc406133889dc128f44e351c3198994c2e8d1b8e (diff) | |
download | rspamd-da83f5296a9e41bc55c8a5bd83fdc3bfd7bf5f54.tar.gz rspamd-da83f5296a9e41bc55c8a5bd83fdc3bfd7bf5f54.zip |
[Minor] Lint rspamadm & test suite scripts
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', +} |