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>2021-08-30 21:41:51 +0300
committerThijs Schreijer <thijs@thijsschreijer.nl>2021-09-01 00:42:29 +0300
commit0653cdb05591454a9804a7fee8c873b8f06b0b8f (patch)
tree6789ee0f8af0d3974e1c81f14c1e121ee297b1e5 /.luacheckrc
parente3712f00fae09a166dd62540b677600165d5bcd7 (diff)
feat(utils) add npairs nil-safe numeric iterator
It honours the `table.n` size field.
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 53fc740..82dab88 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -18,6 +18,10 @@ include_files = {
".luacheckrc",
}
+files["spec/**/*.lua"] = {
+ std = "+busted",
+}
+
exclude_files = {
"tests/*.lua",
"tests/**/*.lua",