Skip to content

Commit

Permalink
fix: add luacheck configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Jun 22, 2023
1 parent 8ef52d0 commit 8b8a9a0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 8b8a9a0

Please sign in to comment.