fix: add luacheck configuration

This commit is contained in:
Micah Halter 2023-06-22 11:28:25 -04:00
parent 8ef52d0256
commit 8b8a9a035f
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
1 changed files with 18 additions and 0 deletions

18
.luacheckrc Normal file
View File

@ -0,0 +1,18 @@
-- Global objects
globals = {
"astronvim",
"astronvim_installation",
"vim",
"bit",
}
-- Rerun tests only if their modification time changed
cache = true
-- Don't report unused self arguments of methods
self = false
ignore = {
"631", -- max_line_length
"212/_.*", -- unused argument, for vars with "_" prefix
}