This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 12
12
"atom" : " >=1.0.0 <2.0.0"
13
13
},
14
14
"scripts" : {
15
- "test" : " eslint ."
15
+ "test" : " apm test" ,
16
+ "lint" : " eslint ."
16
17
},
17
18
"keywords" : [
18
19
" html" ,
30
31
"htmlhint" : " ~0.9.12"
31
32
},
32
33
"devDependencies" : {
33
- "eslint" : " ^2.8 .0" ,
34
- "eslint-config-airbnb-base" : " ^1 .0.0" ,
35
- "eslint-plugin-import" : " ^1.5.0 "
34
+ "eslint" : " ^2.9 .0" ,
35
+ "eslint-config-airbnb-base" : " ^2 .0.0" ,
36
+ "eslint-plugin-import" : " ^1.6.1 "
36
37
},
37
38
"eslintConfig" : {
38
39
"rules" : {
39
- "comma-dangle" : [
40
- 2 ,
41
- " never"
42
- ],
40
+ "comma-dangle" : [2 , " never" ],
43
41
"global-require" : 0 ,
44
- "import/no-unresolved" : [
45
- 2 ,
46
- {
47
- "ignore" : [
48
- " atom"
49
- ]
50
- }
51
- ]
42
+ "import/no-unresolved" : [2 , {"ignore" : [" atom" ]}]
52
43
},
53
44
"extends" : " airbnb-base" ,
54
45
"globals" : {
Original file line number Diff line number Diff line change 1
1
'use babel' ;
2
2
3
3
import * as path from 'path' ;
4
+ const lint = require ( path . join ( '..' , 'lib' , 'index.js' ) ) . provideLinter ( ) . lint ;
4
5
5
6
describe ( 'The htmlhint provider for Linter' , ( ) => {
6
- const lint = require ( path . join ( '..' , 'lib' , 'index.js' ) ) . provideLinter ( ) . lint ;
7
-
8
7
beforeEach ( ( ) => {
9
8
atom . workspace . destroyActivePaneItem ( ) ;
10
9
waitsForPromise ( ( ) =>
You can’t perform that action at this time.
0 commit comments