Software / code / prosody
Comparison
.luacheckrc @ 9443:4e881be88727
.luacheckrc: Ignore unused secondaries in non-strict mode
Previous commit was backwards
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 06 Oct 2018 18:56:22 +0200 |
| parent | 9442:f210ee7dffe9 |
| child | 9458:640c4f1b69a1 |
comparison
equal
deleted
inserted
replaced
| 9442:f210ee7dffe9 | 9443:4e881be88727 |
|---|---|
| 1 cache = true | 1 cache = true |
| 2 unused_secondaries = false | |
| 3 codes = true | 2 codes = true |
| 4 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "143/table", "113/unpack" } | 3 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "143/table", "113/unpack" } |
| 5 | 4 |
| 6 max_line_length = 150 | 5 max_line_length = 150 |
| 7 | 6 |
| 122 } | 121 } |
| 123 | 122 |
| 124 if os.getenv("PROSODY_STRICT_LINT") ~= "1" then | 123 if os.getenv("PROSODY_STRICT_LINT") ~= "1" then |
| 125 -- These files have not yet been brought up to standard | 124 -- These files have not yet been brought up to standard |
| 126 -- Do not add more files here, but do help us fix these! | 125 -- Do not add more files here, but do help us fix these! |
| 127 unused_secondaries = true | 126 unused_secondaries = false |
| 127 | |
| 128 local exclude_files = { | 128 local exclude_files = { |
| 129 "doc/net.server.lua"; | 129 "doc/net.server.lua"; |
| 130 | 130 |
| 131 "fallbacks/bit.lua"; | 131 "fallbacks/bit.lua"; |
| 132 "fallbacks/lxp.lua"; | 132 "fallbacks/lxp.lua"; |