diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2021-08-30 21:41:51 +0300 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2021-09-01 00:42:29 +0300 |
commit | 0653cdb05591454a9804a7fee8c873b8f06b0b8f (patch) | |
tree | 6789ee0f8af0d3974e1c81f14c1e121ee297b1e5 /.luacheckrc | |
parent | e3712f00fae09a166dd62540b677600165d5bcd7 (diff) |
feat(utils) add npairs nil-safe numeric iterator
It honours the `table.n` size field.
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 4 |
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", |