File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ module.exports = {
105
105
SwitchCase : 1 ,
106
106
// continuation indent
107
107
VariableDeclarator : 1 , // indent is multiplier * indent = 1 * 2
108
- MemberExpression : 2 , // indent is multiplier * indent = 2 * 2
108
+ MemberExpression : 'off' , // indent is multiplier * indent = 2 * 2
109
109
FunctionDeclaration : { parameters : 2 } ,
110
110
FunctionExpression : { parameters : 2 } ,
111
111
CallExpression : { arguments : 2 }
Original file line number Diff line number Diff line change 3
3
// Continuation, aka MemberExpression
4
4
var promise = window . Promise . resolve ( true ) ;
5
5
promise .
6
- then ( function ( data ) {
7
- return data ;
8
- } ) .
9
- then ( function ( truthy ) {
10
- return ! truthy ;
11
- } ) .
12
- catch ( function ( ) {
13
- return false ;
14
- } ) ;
6
+ then ( function ( data ) {
7
+ return data ;
8
+ } ) .
9
+ then ( function ( truthy ) {
10
+ return ! truthy ;
11
+ } ) .
12
+ catch ( function ( ) {
13
+ return false ;
14
+ } ) ;
15
15
16
16
// Function expression
17
17
var fun = function ( first , second ) {
You can’t perform that action at this time.
0 commit comments