forked from tarantool/tarantool-lua-debugger-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.luacheckrc
38 lines (36 loc) · 927 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
38
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",
-- 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",
-- Unused variable with `_` prefix.
"212/_.*",
-- Unused loop variable with `_` prefix.
"213/_.*",
}
include_files = {
"**/*.lua",
}
exclude_files = {
"debug-workspace/*.lua",
".rocks/**/*.lua",
".git/**/*.lua",
}