File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,9 @@ module.exports = {
44
44
45
45
if ( sourceCode . text !== desiredText ) {
46
46
// Find the first character that differs
47
- const firstBadIndex = Array . from ( desiredText )
48
- . findIndex ( ( char , index ) => char !== sourceCode . text [ index ] ) ;
47
+ const firstBadIndex = Array . from ( desiredText ) . findIndex (
48
+ ( char , index ) => char !== sourceCode . text [ index ]
49
+ ) ;
49
50
const expectedChar = firstBadIndex === - 1
50
51
? 'EOF'
51
52
: desiredText [ firstBadIndex ] ;
Original file line number Diff line number Diff line change 32
32
"eslint" : " ^3.14.1" ,
33
33
"eslint-config-not-an-aardvark" : " ^2.0.0" ,
34
34
"eslint-config-prettier" : " ^1.3.0" ,
35
- "eslint-plugin-eslint-plugin" : " ^0.2 .1" ,
36
- "eslint-plugin-node" : " ^3.0.5 " ,
35
+ "eslint-plugin-eslint-plugin" : " ^0.7 .1" ,
36
+ "eslint-plugin-node" : " ^4.2.2 " ,
37
37
"mocha" : " ^3.1.2" ,
38
- "prettier" : " ^0.18.0 "
38
+ "prettier" : " ^1.3.1 "
39
39
},
40
40
"engines" : {
41
41
"node" : " >=4.0.0"
You can’t perform that action at this time.
0 commit comments