mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
32361a1245
- Move .luacheckrc to root, add read_globals=vim - Simplify lualint target, run it on all lua files - Lint preload.lua, but ignore W211 - Remove testlint target, included in lualint (and lint) - Clean up .luacheckrc
20 lines
368 B
Lua
20 lines
368 B
Lua
-- vim: ft=lua tw=80
|
|
|
|
-- Ignore W211 (unused variable) with preload files.
|
|
files["**/preload.lua"] = {ignore = { "211" }}
|
|
|
|
-- 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
|
|
}
|
|
|
|
-- Global objects defined by the C code
|
|
read_globals = {
|
|
"vim",
|
|
}
|