mirror of https://github.com/ray-x/go.nvim
luacheckrc
parent
752b135241
commit
427dfd3184
@ -0,0 +1,24 @@
|
|||||||
|
-- Rerun tests only if their modification time changed.
|
||||||
|
cache = true
|
||||||
|
|
||||||
|
std = luajit
|
||||||
|
codes = true
|
||||||
|
|
||||||
|
self = false
|
||||||
|
|
||||||
|
-- Glorious list of warnings: https://luacheck.readthedocs.io/en/stable/warnings.html
|
||||||
|
ignore = {
|
||||||
|
"212", -- Unused argument, In the case of callback function, _arg_name is easier to understand than _, so this option
|
||||||
|
"122", -- Indirectly setting a readonly global
|
||||||
|
}
|
||||||
|
|
||||||
|
globals = {
|
||||||
|
"_",
|
||||||
|
"G",
|
||||||
|
"_GO_NVIM_CFG"
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Global objects defined by the C code
|
||||||
|
read_globals = {
|
||||||
|
"vim",
|
||||||
|
}
|
Loading…
Reference in New Issue