diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2021-02-17 22:50:27 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2021-02-17 22:51:26 -0300 |
| commit | 930acb2baa1a34dbf71c1b3f79492a2e598ecf61 (patch) | |
| tree | 66b54dfa33d8086704e64f9fa8831c5e161620f4 | |
| parent | e93778d4e0ec16e3358cff35ab79a497d52e8609 (diff) | |
| download | luarocks-930acb2baa1a34dbf71c1b3f79492a2e598ecf61.tar.gz luarocks-930acb2baa1a34dbf71c1b3f79492a2e598ecf61.tar.bz2 luarocks-930acb2baa1a34dbf71c1b3f79492a2e598ecf61.zip | |
Add .luacheckrc
I realized I had this around for ages but never committed it.
| -rw-r--r-- | .luacheckrc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 00000000..b37bdc4a --- /dev/null +++ b/.luacheckrc | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | codes = true | ||
| 2 | |||
| 3 | ignore = { | ||
| 4 | "6..", | ||
| 5 | "542", | ||
| 6 | "212", | ||
| 7 | "213", | ||
| 8 | "421/ok", | ||
| 9 | "421/err", | ||
| 10 | "421/errcode", | ||
| 11 | "411/ok", | ||
| 12 | "411/err", | ||
| 13 | "411/errcode", | ||
| 14 | "113/unpack", | ||
| 15 | "211/require", | ||
| 16 | "211/ok", | ||
| 17 | "211/err", | ||
| 18 | "211/errcode", | ||
| 19 | "431/ok", | ||
| 20 | "431/err", | ||
| 21 | "431/errcode", | ||
| 22 | "311/ok", | ||
| 23 | "311/err", | ||
| 24 | "311/errcode", | ||
| 25 | "143/table.unpack", | ||
| 26 | } | ||
| 27 | |||
| 28 | include_files = { | ||
| 29 | "src/luarocks/**/*.lua" | ||
| 30 | } | ||
