summaryrefslogtreecommitdiffstats
path: root/.luacheckrc
blob: 2eb10ce1ac9542e24cd570fd85e44662ab24a451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
codes = true
std = 'min'

exclude_files = {
}

globals = {
  'classifiers',
  'config',
  'rspamd_config',
  'rspamd_count_metatokens',
  'rspamd_gen_metatokens',
  'rspamd_parse_redis_server',
  'rspamd_paths',
  'rspamd_plugins',
  'rspamd_redis_make_request',
  'rspamd_str_split',
  'rspamd_version',
}

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',
}