chore: move from luacheck to selene

pull/9/head
Micah Halter 2024-02-26 05:40:41 -05:00
parent b2b495ff0d
commit 5a47cc12f1
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
3 changed files with 14 additions and 16 deletions

View File

@ -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
View File

@ -0,0 +1,6 @@
---
base: lua51
globals:
vim:
any: true

8
selene.toml Normal file
View 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"