Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #236 from AtomLinter/arcanemagus/update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
Arcanemagus authored Oct 28, 2019
2 parents 6fdffdb + adcf67f commit 787409b
Show file tree
Hide file tree
Showing 3 changed files with 1,878 additions and 1,333 deletions.
6 changes: 5 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ const loadDeps = () => {
({ dirname } = require('path'));
}
if (!HTMLHint) {
({ HTMLHint } = require('htmlhint'));
const htmlhintModule = require('htmlhint');
HTMLHint = new htmlhintModule.HTMLHint();
Object.keys(htmlhintModule.HTMLRules).forEach((rule) => {
HTMLHint.addRule(htmlhintModule.HTMLRules[rule]);
});
}
if (!findAsync || !generateRange) {
({ findAsync, generateRange } = require('atom-linter'));
Expand Down
Loading

0 comments on commit 787409b

Please sign in to comment.