aboutsummaryrefslogtreecommitdiff
path: root/.luacheckrc
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-02-17 02:30:30 -0300
committerDiego Martínez <kaeza@users.noreply.github.com>2017-02-17 02:30:30 -0300
commit89303b4a01e59157e813ee44e2a85b6e5ed02a03 (patch)
treee345ab70a10a7cd3a0f6025827287716aa93798a /.luacheckrc
parent97fb251ad954a5927a4ba59e72cffd277e6d244c (diff)
downloadxban2-89303b4a01e59157e813ee44e2a85b6e5ed02a03.tar.gz
xban2-89303b4a01e59157e813ee44e2a85b6e5ed02a03.tar.bz2
xban2-89303b4a01e59157e813ee44e2a85b6e5ed02a03.zip
Add `.luacheckrc` and fix warnings.
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 0000000..8ef1636
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,7 @@
+
+unused_args = false
+allow_defined_top = true
+
+read_globals = {
+ "minetest",
+}