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

Commit b157320

Browse files
committed
Fix lint issues
1 parent c33afe5 commit b157320

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function provideLinter() {
4343
lintOnFly: true,
4444
lint: editor => {
4545
const { HTMLHint } = require('htmlhint');
46+
4647
const text = editor.getText();
4748
const filePath = editor.getPath();
4849

spec/linter-htmlhint-spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use babel';
22

33
import * as path from 'path';
4+
45
const lint = require(path.join('..', 'lib', 'index.js')).provideLinter().lint;
56

67
describe('The htmlhint provider for Linter', () => {

0 commit comments

Comments
 (0)