File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 12
12
"url" : " https://github.com/lesshint/gulp-lesshint.git"
13
13
},
14
14
"scripts" : {
15
- "pretest" : " eslint *.js" ,
15
+ "pretest" : " eslint **/* .js" ,
16
16
"test" : " mocha"
17
17
},
18
18
"keywords" : [
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ describe('gulp-lesshint', () => {
55
55
56
56
stream . on ( 'data' , ( ) => { } ) ;
57
57
58
- stream . on ( 'error' , ( error ) => {
58
+ stream . on ( 'error' , ( ) => {
59
59
assert ( false ) ;
60
60
} ) ;
61
61
@@ -90,11 +90,13 @@ describe('gulp-lesshint', () => {
90
90
reporterStream . on ( 'data' , ( ) => { } ) ;
91
91
92
92
reporterStream . once ( 'end' , ( ) => {
93
+ /* eslint-disable no-console */
93
94
assert . ok ( console . log . called ) ;
94
95
95
96
console . log . restore ( ) ;
96
97
97
98
cb ( ) ;
99
+ /* eslint-enable no-console */
98
100
} ) ;
99
101
100
102
lintStream . write ( new File ( {
@@ -117,7 +119,7 @@ describe('gulp-lesshint', () => {
117
119
118
120
stream . on ( 'data' , ( ) => { } ) ;
119
121
120
- stream . on ( 'error' , ( error ) => {
122
+ stream . on ( 'error' , ( ) => {
121
123
assert ( false ) ;
122
124
123
125
cb ( ) ;
You can’t perform that action at this time.
0 commit comments