Changeset

9692:affcbccc1dff

lint: Remove use of the 143 error code Does not appear to be invoked by anything
author Kim Alvefur <zash@zash.se>
date Sat, 08 Dec 2018 17:10:51 +0100
parents 9691:e11e076f0eb8
children 9693:6ed0d6224d64
files net/websocket/frames.lua util/import.lua util/multitable.lua util/serialization.lua
diffstat 4 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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);
--- 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
--- 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;