chore: move from luacheck to selene
This commit is contained in:
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
|
||||
}
|
6
neovim.yml
Normal file
6
neovim.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
base: lua51
|
||||
|
||||
globals:
|
||||
vim:
|
||||
any: true
|
8
selene.toml
Normal file
8
selene.toml
Normal file
@ -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…
x
Reference in New Issue
Block a user