add .luacheckrc and fix linter issues

This commit is contained in:
kyazdani42
2020-06-08 11:23:30 +02:00
parent 1e67a7c6f4
commit 18dac0ed84
7 changed files with 40 additions and 24 deletions

13
.luacheckrc Normal file
View File

@@ -0,0 +1,13 @@
-- vim: ft=lua tw=80
-- Don't report unused self arguments of methods.
self = false
ignore = {
"631", -- max_line_length
}
-- Global objects defined by the C code
read_globals = {
"vim",
}