diff options
Diffstat (limited to 'mac/.config/LunarVim/.luacheckrc')
| -rw-r--r-- | mac/.config/LunarVim/.luacheckrc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/mac/.config/LunarVim/.luacheckrc b/mac/.config/LunarVim/.luacheckrc new file mode 100644 index 0000000..5330708 --- /dev/null +++ b/mac/.config/LunarVim/.luacheckrc @@ -0,0 +1,45 @@ +---@diagnostic disable +-- vim: ft=lua tw=80 + +stds.nvim = { + globals = { + "lvim", + "reload", + 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", + "require_clean", + }, +} +std = "lua51+nvim" + +files["tests/*_spec.lua"].std = "lua51+nvim+busted" +files["lua/lvim/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 +} |
