chore: move from luacheck to selene
parent
b2b495ff0d
commit
5a47cc12f1
16
.luacheckrc
16
.luacheckrc
|
@ -1,16 +0,0 @@
|
|||
-- Global objects
|
||||
globals = {
|
||||
"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
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
base: lua51
|
||||
|
||||
globals:
|
||||
vim:
|
||||
any: true
|
|
@ -0,0 +1,8 @@
|
|||
std = "neovim"
|
||||
|
||||
[rules]
|
||||
global_usage = "allow"
|
||||
if_same_then_else = "allow"
|
||||
incorrect_standard_library_use = "allow"
|
||||
mixed_table = "allow"
|
||||
multiple_statements = "allow"
|
Loading…
Reference in New Issue