diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2018-09-21 13:41:44 +0300 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2018-09-21 15:15:25 +0300 |
commit | 10dd7332c39b731a6dc7fa6394527b8bacdf316a (patch) | |
tree | 3fc2af8b7a783e40caead8c1fd06882488832511 /.luacheckrc | |
parent | b16467c1d2e5c731b82115db02409d6ac05f7dbd (diff) |
added linter to the test setup and fixed warnings
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..b549334 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,22 @@ +unused_args = false +redefined = false +max_line_length = false + + +not_globals = { + "string.len", + "table.getn", +} + + +exclude_files = { + "tests/*.lua", + "tests/**/*.lua", + "here/*.lua", + "here/**/*.lua", + + -- TODO: fix these files + "examples/symbols.lua", + "examples/test-symbols.lua", +} + |