luacheck: configure it for .luacheckrc itself

This commit is contained in:
Daniel Hahler 2017-02-15 19:55:42 +01:00 committed by Yauhen Kirylau
parent bd02ee8558
commit 17fe135a9f
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ files["spec"].std = "+busted"
-- The default config may set global variables
files["awesomerc.lua"].allow_defined_top = true
-- This file itself
files[".luacheckrc"].ignore = {"111", "112", "131"}
-- Global objects defined by the C code
read_globals = {
"awesome",