From f4e0028767eb89304bbf503517b6c2f296aea4fc Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Sat, 1 Aug 2015 08:22:22 +0200 Subject: [PATCH] add config_file info See http://sublimelinter.readthedocs.org/en/latest/linter_attributes.html#config-file Closes: #3 --- linter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/linter.py b/linter.py index ff039b6..11af289 100644 --- a/linter.py +++ b/linter.py @@ -27,6 +27,7 @@ class Luacheck(Linter): comment_re = r'\s*--' inline_settings = 'limit' inline_overrides = ('ignore', 'only', 'globals') + config_file = ('--config', '.luacheckrc', '~') cmd = 'luacheck @ *' regex = r'^(?P.+):(?P\d+):(?P\d+): (?P.*)$'