diff --git a/lib/linter-htmlhint.coffee b/lib/linter-htmlhint.coffee index 204a2f7..ef1fd4d 100644 --- a/lib/linter-htmlhint.coffee +++ b/lib/linter-htmlhint.coffee @@ -21,7 +21,7 @@ class LinterHtmlhint extends Linter # update the ruleset anytime the watched htmlhintrc file changes setupHtmlHintRc: => - htmlHintRcPath = atom.config.get('linter.linter-htmlhint.htmlhintRcFilePath') || '' + htmlHintRcPath = atom.config.get('linter.linter-htmlhint.htmlhintRcFilePath') || @cwd fileName = atom.config.get('linter.linter-htmlhint.htmlhintRcFileName') || '.htmlhintrc' config = findFile htmlHintRcPath, [fileName] if config