aboutsummaryrefslogtreecommitdiff
path: root/.luacheckrc
diff options
context:
space:
mode:
authorruns <runs@runs-PC.runs.es>2020-05-18 00:53:19 +0200
committerruns <runs@runs-PC.runs.es>2020-05-18 00:53:19 +0200
commit9522c009f7652e54873495eb1817f77c6415a739 (patch)
tree5a7a84d2999a8cbaffb111cbf7dd40a274f1a5ef /.luacheckrc
parent6eface65e756c3a713b1ab61baf05d0465612f48 (diff)
downloadfireworkz-9522c009f7652e54873495eb1817f77c6415a739.tar.gz
fireworkz-9522c009f7652e54873495eb1817f77c6415a739.tar.bz2
fireworkz-9522c009f7652e54873495eb1817f77c6415a739.zip
fixes
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..4de6466
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,19 @@
+unused_args = false
+allow_defined_top = true
+
+globals = {
+ "minetest",
+ "mobkit"
+}
+
+read_globals = {
+ string = {fields = {"split"}},
+ table = {fields = {"copy", "getn"}},
+
+ -- Builtin
+ "vector", "ItemStack",
+ "dump", "DIR_DELIM", "VoxelArea", "Settings",
+
+ -- MTG
+ "default", "sfinv", "creative",
+}