File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 6565 max-len: [2, 80, 2]
6666 ## require parens for Constructor
6767 new-parens: 2
68+ ## disallow mixed spaces and tabs for indentation
69+ no-mixed-spaces-and-tabs: 2
6870 ## max 2 consecutive empty lines
6971 no-multiple-empty-lines: [2, {max: 2}]
7072 ## no trailing spaces
Original file line number Diff line number Diff line change @@ -22,14 +22,16 @@ var certificate = new crypto.Certificate();
2222assert . equal ( certificate . verifySpkac ( spkacValid ) , true ) ;
2323assert . equal ( certificate . verifySpkac ( spkacFail ) , false ) ;
2424
25- assert . equal ( stripLineEndings ( certificate . exportPublicKey ( spkacValid )
26- . toString ( 'utf8' ) ) ,
27- stripLineEndings ( spkacPem . toString ( 'utf8' ) ) ) ;
25+ assert . equal (
26+ stripLineEndings ( certificate . exportPublicKey ( spkacValid ) . toString ( 'utf8' ) ) ,
27+ stripLineEndings ( spkacPem . toString ( 'utf8' ) )
28+ ) ;
2829assert . equal ( certificate . exportPublicKey ( spkacFail ) , '' ) ;
2930
30- assert . equal ( certificate . exportChallenge ( spkacValid )
31- . toString ( 'utf8' ) ,
32- 'fb9ab814-6677-42a4-a60c-f905d1a6924d' ) ;
31+ assert . equal (
32+ certificate . exportChallenge ( spkacValid ) . toString ( 'utf8' ) ,
33+ 'fb9ab814-6677-42a4-a60c-f905d1a6924d'
34+ ) ;
3335assert . equal ( certificate . exportChallenge ( spkacFail ) , '' ) ;
3436
3537function stripLineEndings ( obj ) {
You can’t perform that action at this time.
0 commit comments