New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chained method indenting inconsistancy #886
Labels
Milestone
Comments
So in array. And also in arrow functions: arg =>
foo()
.bar() but arg => {
foo()
.bar()
} expected: arg =>
foo()
.bar() |
+1. We also encouter this. Maybe that could be a switch |
👍 |
And another example in arrow functions: onePromise.then(
result => twoPromise()
.then(resolve, reject),
error => reject(error)
) Result: onePromise.then(
result => twoPromise()
.then(resolve, reject),
error => reject(error)
) Must be: onePromise.then(
result => twoPromise()
.then(resolve, reject),
error => reject(error)
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input:
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: