summaryrefslogtreecommitdiff
path: root/.luacheckrc
blob: b55bbb230ba054bacd40fad9b3d8b736c12dcdf9 (plain)
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
-- vim: ft=lua tw=80

stds.nvim = {
	globals = {
		"lvim",
		vim = { fields = { "g" } },
		"CONFIG_PATH",
		"CACHE_PATH",
		"DATA_PATH",
		"TERMINAL",
		"USER",
    "C",
    "Config",
    "WORKSPACE_PATH",
    "JAVA_LS_EXECUTABLE",
    "MUtils",
    os = {fields = {"capture"}}
	},
	read_globals = {
		"jit",
		"os",
		"vim",
		-- vim = { fields = { "cmd", "api", "fn", "o" } },
	},
}
std = "lua51+nvim"


-- 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
}