-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.luacheckrc
37 lines (35 loc) · 919 Bytes
/
.luacheckrc
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
std = "luajit"
globals = {"box", "_TARANTOOL", "tonumber64", "utf8"}
ignore = {
-- Accessing an undefined field of a global variable <debug>.
"143/debug",
-- Accessing an undefined field of a global variable <os>.
"143/os",
-- Accessing an undefined field of a global variable <string>.
"143/string",
-- Accessing an undefined field of a global variable <table>.
"143/table",
-- Accessing an undefined field of a global variable <package>.
"143/package",
-- Unused argument <self>.
"212/self",
-- Redefining a local variable.
"411",
-- Redefining an argument.
"412",
-- Shadowing a local variable.
"421",
-- Shadowing an upvalue.
"431",
-- Shadowing an upvalue argument.
"432",
}
include_files = {
"**/*.lua",
}
exclude_files = {
"build/**/*.lua",
".rocks/**/*.lua",
".git/**/*.lua",
"http/mime_types.lua",
}