Initial commit

This commit is contained in:
Patrick Alvin Alcala 2025-06-26 16:53:43 +08:00
commit 209ba130c0
4852 changed files with 1517959 additions and 0 deletions

View file

@ -0,0 +1,28 @@
-- luacheck plugin for lint+
--- CONFIG ---
-- config.lint.luacheck_args: table[string]
-- passes the specified arguments to luacheck
--- IMPLEMENTATION ---
local lintplus = require "plugins.lintplus"
lintplus.add("luacheck") {
filename = "%.lua$",
procedure = {
command = lintplus.args_command(
{ "luacheck",
lintplus.args,
"--formatter",
"visual_studio",
lintplus.filename },
"luacheck_args"
),
interpreter = lintplus.interpreter {
warning = "(.-)%((%d+),(%d+)%) : warning .-: (.+)",
error = "(.-)%((%d+),(%d+)%) : error .-: (.+)",
}
},
}