aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 0000000..7efefde
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,19 @@
+max_comment_line_length = false
+codes = true
+
+exclude_files = {
+ "tests/treesitter",
+}
+
+ignore = {
+ "212", -- Unused argument
+ "631", -- Line is too long
+ "122", -- Setting a readonly global
+ "542", -- Empty if branch
+}
+
+read_globals = {
+ "vim",
+ "a",
+ "assert",
+}