diff options
Diffstat (limited to 'test/.luacheckrc')
-rw-r--r-- | test/.luacheckrc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/.luacheckrc b/test/.luacheckrc index 4c8243ad7e..92e19d40e8 100644 --- a/test/.luacheckrc +++ b/test/.luacheckrc @@ -1,5 +1,13 @@ --- vim: ft=lua +-- vim: ft=lua tw=80 +-- Don't report globals from luajit or busted (e.g. jit.os or describe). std = '+luajit +busted' -cache = true + +-- One can't test these files properly; assume correctness. exclude_files = { '*/preload.lua' } + +-- Don't report unused self arguments of methods. +self = false + +-- Rerun tests only if their modification time changed. +cache = true |