# HG changeset patch # User Kim Alvefur # Date 1544285451 -3600 # Node ID affcbccc1dff392cc3eff737a50b6e0dbf9672e0 # Parent e11e076f0eb897b896b3f351d5685019d715fd3a lint: Remove use of the 143 error code Does not appear to be invoked by anything diff -r e11e076f0eb8 -r affcbccc1dff net/websocket/frames.lua --- a/net/websocket/frames.lua Sat Dec 08 17:09:55 2018 +0100 +++ b/net/websocket/frames.lua Sat Dec 08 17:10:51 2018 +0100 @@ -22,8 +22,8 @@ local s_byte = string.byte; local s_char= string.char; local s_sub = string.sub; -local s_pack = string.pack; -- luacheck: ignore 143 -local s_unpack = string.unpack; -- luacheck: ignore 143 +local s_pack = string.pack; +local s_unpack = string.unpack; if not s_pack and softreq"struct" then s_pack = softreq"struct".pack; diff -r e11e076f0eb8 -r affcbccc1dff util/import.lua --- a/util/import.lua Sat Dec 08 17:09:55 2018 +0100 +++ b/util/import.lua Sat Dec 08 17:10:51 2018 +0100 @@ -8,7 +8,7 @@ -local unpack = table.unpack or unpack; --luacheck: ignore 113 143 +local unpack = table.unpack or unpack; --luacheck: ignore 113 local t_insert = table.insert; function _G.import(module, ...) local m = package.loaded[module] or require(module); diff -r e11e076f0eb8 -r affcbccc1dff util/multitable.lua --- a/util/multitable.lua Sat Dec 08 17:09:55 2018 +0100 +++ b/util/multitable.lua Sat Dec 08 17:10:51 2018 +0100 @@ -9,7 +9,7 @@ local select = select; local t_insert = table.insert; local pairs, next, type = pairs, next, type; -local unpack = table.unpack or unpack; --luacheck: ignore 113 143 +local unpack = table.unpack or unpack; --luacheck: ignore 113 local _ENV = nil; -- luacheck: std none diff -r e11e076f0eb8 -r affcbccc1dff util/serialization.lua --- a/util/serialization.lua Sat Dec 08 17:09:55 2018 +0100 +++ b/util/serialization.lua Sat Dec 08 17:10:51 2018 +0100 @@ -20,7 +20,6 @@ local envload = require"util.envload".envload; local pos_inf, neg_inf = math.huge, -math.huge; --- luacheck: ignore 143/math local m_type = math.type or function (n) return n % 1 == 0 and n <= 9007199254740992 and n >= -9007199254740992 and "integer" or "float"; end;