-
Notifications
You must be signed in to change notification settings - Fork 5
/
.luacheckrc
45 lines (42 loc) · 921 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
39
40
41
42
43
44
45
-- See https://luacheck.readthedocs.io/en/stable/warnings.html
-- 111: Setting undefined global variable (most of our config is globals)
-- 131: unused implicitly defined global variable (some globals are read by the c++ code and may not be used in the lua inputs)
ignore = { "111", "131" }
std = {
globals = {
"ref_length",
"ref_density",
"ref_mass",
"ref_temp",
"lightspeed",
"beta",
"skin_depth",
"Larmor",
"Debye",
"verbosity",
"linear_solver_verbosity",
"cfl",
"refine_cutcells",
"time_integration_scheme",
"force_dt",
"refine_boxes",
"tile_size",
"plot",
"states",
"actions",
"embedded_boundaries",
"spairs",
"len",
"get_sorted_keys",
"expand",
"exists",
"is_function",
"is_table",
"get_ipairs",
"get_args",
"get_num_args",
"preprocess",
"math",
},
}
allow_defined_top = true