LunarVim/.luacheckrc
Sergio Mendez 5cf8c07ee9
fix(bootstrap): support for using default neovim config and data directories (#1777)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
Co-authored-by: James Walmsley <james@fullfat-fs.co.uk>
2021-10-20 18:05:18 +02:00

43 lines
820 B
Lua

-- vim: ft=lua tw=80
stds.nvim = {
globals = {
"lvim",
vim = { fields = { "g" } },
"TERMINAL",
"USER",
"C",
"Config",
"WORKSPACE_PATH",
"JAVA_LS_EXECUTABLE",
"MUtils",
"USER_CONFIG_PATH",
os = { fields = { "capture" } },
},
read_globals = {
"jit",
"os",
"vim",
"join_paths",
"get_runtime_dir",
"get_config_dir",
"get_cache_dir",
"get_lvim_base_dir",
"get_version",
-- vim = { fields = { "cmd", "api", "fn", "o" } },
},
}
std = "lua51+nvim"
files["tests/*_spec.lua"].std = "lua51+nvim+busted"
-- 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
}