neovim/test/.luacheckrc
Justin M. Keyes 4306e5ae0c test: luacheck update
We pull luacheck HEAD, so this is a "catch up" commit to fix
newly-discovered errors.
2017-03-01 14:47:49 +01:00

21 lines
524 B
Lua

-- vim: ft=lua tw=80
-- Don't report globals from luajit or busted (e.g. jit.os or describe).
std = '+luajit +busted'
-- One can't test these files properly; assume correctness.
exclude_files = { '*/preload.lua' }
-- 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
}
-- Ignore whitespace issues in converted Vim legacy tests.
files["functional/legacy"] = {ignore = { "611", "612", "613", "621" }}