File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,9 @@ module.exports = {
4444
4545 if ( sourceCode . text !== desiredText ) {
4646 // 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+ ) ;
4950 const expectedChar = firstBadIndex === - 1
5051 ? 'EOF'
5152 : desiredText [ firstBadIndex ] ;
Original file line number Diff line number Diff line change 3232 "eslint" : " ^3.14.1" ,
3333 "eslint-config-not-an-aardvark" : " ^2.0.0" ,
3434 "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 " ,
3737 "mocha" : " ^3.1.2" ,
38- "prettier" : " ^0.18.0 "
38+ "prettier" : " ^1.3.1 "
3939 },
4040 "engines" : {
4141 "node" : " >=4.0.0"
You can’t perform that action at this time.
0 commit comments