From 9e7e4b64ac9159037ba1baa88b6f75949654483e Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 13 Nov 2021 12:26:30 +0000 Subject: [PATCH] Add .luacheckrc --- .luacheckrc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..92212d9 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,28 @@ +quiet = 1 +codes = true + +exclude_files = { + ".luarocks/*", +} + + +ignore = { + "631", "61[124]", + "542", + "412", + "321/bit", + "21[123]" +} + +-- Read-write globals (i.e. they can be defined) +-- globals = { +-- +-- } +-- Read-only globals +read_globals = { + "bit", + "it", + "describe", + "dofile", +} +std = "max"