-
Notifications
You must be signed in to change notification settings - Fork 0
/
.luacheckrc
53 lines (48 loc) · 981 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
46
47
48
49
50
51
52
53
---@diagnostic disable
-- vim: ft=lua tw=80
stds.nvim = {
globals = {
"user",
"reload",
vim = { fields = { "g" } },
"TERMINAL",
"USER",
"C",
"Config",
"WORKSPACE_PATH",
"JAVA_LS_EXECUTABLE",
"MUtils",
"USER_CONFIG_PATH",
"qvim",
os = { fields = { "capture" } },
},
read_globals = {
"jit",
"os",
"path_sep",
"vim",
"join_paths",
"get_qvim_log_dir",
"get_qvim_cache_dir",
"get_qvim_state_dir",
"get_qvim_config_dir",
"get_qvim_data_dir",
"get_qvim_rtp_dir",
"get_qvim_base_dir",
"get_qvim_pack_dir",
"get_qvim_structlog_dir",
"get_lazy_rtp_dir",
"require_clean",
},
}
std = "lua51+nvim"
files["tests/*_spec.lua"].std = "lua51+nvim+busted"
files["lua/qvim/impatient*"].ignore = { "121" }
-- Don't report unused self arguments of methods.
self = false
-- Rerun tests only if their modification time changed.
cache = true
ignore = {
"631", -- max_line_length
"212/_.*", -- unused argument, for vars with "_" prefix
}