From 17fe135a9f3f94d70395730d8c3e95b9e8ffe688 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 15 Feb 2017 19:55:42 +0100 Subject: [PATCH] luacheck: configure it for .luacheckrc itself --- .luacheckrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.luacheckrc b/.luacheckrc index bf72b03a..44ecc5ee 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -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",