diff options
author | SX <sx@minetest> | 2020-02-14 02:30:20 +0200 |
---|---|---|
committer | SX <sx@minetest> | 2020-02-14 02:30:20 +0200 |
commit | 13f7c692cbddb53618e904170c6ac1d6762cfa4f (patch) | |
tree | d514005ca26b792ce3f9f33050970945b06e2e63 /.luacheckrc | |
parent | a3966d1a029cbeaaf6778313ee44dd6ada9ed369 (diff) | |
download | elevator-13f7c692cbddb53618e904170c6ac1d6762cfa4f.tar.gz elevator-13f7c692cbddb53618e904170c6ac1d6762cfa4f.tar.bz2 elevator-13f7c692cbddb53618e904170c6ac1d6762cfa4f.zip |
Added linter
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..db7f279 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,24 @@ +unused_args = false + +ignore = { + "631", +} + +globals = { + "elevator", +} + +read_globals = { + -- Stdlib + string = {fields = {"split"}}, + table = {fields = {"copy", "getn"}}, + + -- Minetest + "minetest", + "vector", + "VoxelManip", + + -- deps + "default", "screwdriver", + "farming", "armor", +} |