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
34
35
36
37
38
39
40
  | 
unused_args     = false
redefined       = false
max_line_length = false
globals = {
    "ngx",
}
not_globals = {
    "string.len",
    "table.getn",
}
include_files = {
  "**/*.lua",
  "*.rockspec",
  ".busted",
  ".luacheckrc",
}
files["spec/**/*.lua"] = {
    std = "+busted",
}
exclude_files = {
    "tests/*.lua",
    "tests/**/*.lua",
    -- Travis Lua environment
    "here/*.lua",
    "here/**/*.lua",
    -- GH Actions Lua Environment
    ".lua",
    ".luarocks",
    ".install",
    -- TODO: fix these files
    "examples/symbols.lua",
    "examples/test-symbols.lua",
}
  |