From 8b8a9a035f3f409c95135d93abdada88d3a1ce3c Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Thu, 22 Jun 2023 11:28:25 -0400 Subject: [PATCH] fix: add luacheck configuration --- .luacheckrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..d1113eb --- /dev/null +++ b/.luacheckrc @@ -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 +}