We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f40c02 + 749aa54 commit 75a8cf2Copy full SHA for 75a8cf2
index.js
@@ -86,7 +86,7 @@ var hint = function(file, options) {
86
87
if(options.patterns) { patterns = options.patterns || []; }
88
89
- if (options.htmlhintrc && options.htmlhintrc === typeof String) {
+ if (options.htmlhintrc && typeof options.htmlhintrc === 'string') {
90
try {
91
var htmlhintrc = fs.readFileSync(options.htmlhintrc);
92
htmlhintrcRuleset = JSON.parse(htmlhintrc);
0 commit comments