Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stevedonovan/Penlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2018-09-21 13:41:44 +0300
committerThijs Schreijer <thijs@thijsschreijer.nl>2018-09-21 15:15:25 +0300
commit10dd7332c39b731a6dc7fa6394527b8bacdf316a (patch)
tree3fc2af8b7a783e40caead8c1fd06882488832511 /.luacheckrc
parentb16467c1d2e5c731b82115db02409d6ac05f7dbd (diff)
added linter to the test setup and fixed warnings
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc22
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",
+}
+