diff options
author | Carl Smedstad <carl.smedstad@protonmail.com> | 2021-03-16 03:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 23:23:38 -0300 |
commit | e55ff19c961b799774303d1c38a581693af289a2 (patch) | |
tree | eb4d4d7533a42056a4787abd6478ae89c99baf46 /.luacheckrc | |
parent | 930acb2baa1a34dbf71c1b3f79492a2e598ecf61 (diff) | |
download | luarocks-e55ff19c961b799774303d1c38a581693af289a2.tar.gz luarocks-e55ff19c961b799774303d1c38a581693af289a2.tar.bz2 luarocks-e55ff19c961b799774303d1c38a581693af289a2.zip |
Run Luacheck in CI & fix reported errors (#1285)
Tried to do this as non-intrusively as possible, mostly by ignoring the
issues in-line.
Set the option unused_secondaries to false as suggested by @hishamhm.
This makes named but ununsed return values, that serves a documenting
purpose, allowed.
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc index b37bdc4a..98e05c23 100644 --- a/.luacheckrc +++ b/.luacheckrc | |||
@@ -28,3 +28,5 @@ ignore = { | |||
28 | include_files = { | 28 | include_files = { |
29 | "src/luarocks/**/*.lua" | 29 | "src/luarocks/**/*.lua" |
30 | } | 30 | } |
31 | |||
32 | unused_secondaries = false | ||