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.
1 parent 7f40c02 commit 749aa54Copy full SHA for 749aa54
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