Skip to content

Commit f82fd31

Browse files
authored
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.
1 parent 77fbe90 commit f82fd31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Htmlhint(NodeLinter):
2525
version_requirement = '>= 0.9.13'
2626
# empty regex so plugin initializes properly
2727
regex = r''
28-
config_file = ('--config', '.htmlhintrc', '~')
28+
config_file = ('--config', '.htmlhintrc')
2929

3030
def find_errors(self, output):
3131
"""

0 commit comments

Comments
 (0)