From f82fd31949972787e854b92e983d158d85414f79 Mon Sep 17 00:00:00 2001 From: GoupilRobin Date: Thu, 6 Apr 2017 15:14:32 +0200 Subject: [PATCH] Update linter.py Auxiliary directory kill the hierarchy folder search. Here, the plugin will only look for .htmlhintrc in '~' or the directory of the inspected file, missing a .htmlhintrc file at the root of the project. Removing the auxiliary directory will still find a .htmlhintrc file in '~' if no other config file are found while moving up from the directory of the inspected file. --- linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter.py b/linter.py index 5349d78..d6a4789 100644 --- a/linter.py +++ b/linter.py @@ -25,7 +25,7 @@ class Htmlhint(NodeLinter): version_requirement = '>= 0.9.13' # empty regex so plugin initializes properly regex = r'' - config_file = ('--config', '.htmlhintrc', '~') + config_file = ('--config', '.htmlhintrc') def find_errors(self, output): """