Skip to content

Commit

Permalink
Update linter.py
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rgoupil authored Apr 6, 2017
1 parent 77fbe90 commit f82fd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit f82fd31

Please sign in to comment.