diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..81e1561 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,7 @@ +allow_defined_top = true + +read_globals = { + "minetest", + "dump", "vector", + "VoxelManip", "VoxelArea", +} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f254a63 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: generic +sudo: false +addons: + apt: + packages: + - luarocks +before_install: + - luarocks install --local luacheck +script: +- $HOME/.luarocks/bin/luacheck --no-color . +notifications: +email: false \ No newline at end of file