loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack...
authorKim Alvefur <zash@zash.se>
Thu, 18 Feb 2016 13:57:51 +0000 (14:57 +0100)
committerKim Alvefur <zash@zash.se>
Thu, 18 Feb 2016 13:57:51 +0000 (14:57 +0100)
core/loggingmanager.lua
core/moduleapi.lua
core/modulemanager.lua

index 14dd43608b05612dccd09255ca25f345b7ce9075..e3a83817b5d239c2009bc0261b674ad71ef98b7b 100644 (file)
@@ -16,7 +16,8 @@ local math_max, rep = math.max, string.rep;
 local os_date = os.date;
 local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring;
 local tostring = tostring;
-local select, unpack = select, table.unpack or unpack;
+local select = select;
+local unpack = table.unpack or unpack; --luacheck: ignore 113
 
 local config = require "core.configmanager";
 local logger = require "util.logger";
index 9a0c5223b466af0f45fd30f535aa6c5aed66048c..402c79275fe0456f2004c2b7aece035329d21dcc 100644 (file)
@@ -20,7 +20,7 @@ local st = require "util.stanza";
 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat;
 local error, setmetatable, type = error, setmetatable, type;
 local ipairs, pairs, select = ipairs, pairs, select;
-local unpack = table.unpack or unpack;
+local unpack = table.unpack or unpack; --luacheck: ignore 113
 local tonumber, tostring = tonumber, tostring;
 local require = require;
 
index 5d030513f0ac6f08dc6246f62918f471b03b4b4c..65542f9a0313315cd16a80d1898eea48b15e139f 100644 (file)
@@ -24,7 +24,7 @@ local ipairs, pairs, type, tostring, t_insert = ipairs, pairs, type, tostring, t
 
 local debug_traceback = debug.traceback;
 local select = select;
-local unpack = table.unpack or unpack;
+local unpack = table.unpack or unpack; --luacheck: ignore 113
 local pcall = function(f, ...)
        local n = select("#", ...);
        local params = {...};