We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f5c895 commit 4fec885Copy full SHA for 4fec885
es5.js
@@ -105,7 +105,7 @@ module.exports = {
105
SwitchCase: 1,
106
// continuation indent
107
VariableDeclarator: 1, // indent is multiplier * indent = 1 * 2
108
- MemberExpression: 1, // indent is multiplier * indent = 1 * 2
+ MemberExpression: 2, // indent is multiplier * indent = 1 * 2
109
FunctionDeclaration: {parameters: 2},
110
FunctionExpression: {parameters: 2},
111
CallExpression: {arguments: 2}
test/es5/continuation.js
@@ -0,0 +1,13 @@
1
+'use strict';
2
+
3
+var promise = window.Promise.resolve(true);
4
+promise.
5
+ then(function (data) {
6
+ return data;
7
+ }).
8
+ then(function (truthy) {
9
+ return !truthy;
10
11
+ catch(function () {
12
+ return false;
13
+ });
0 commit comments