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
indent split argument functions #3548
Comments
Thanks for the issue! We get a lot of issues, so this message is automatically posted to each one to help you check that you've included all of the information we need to help you. Reporting a bug? Please be sure to include:
Requesting a new rule? Please be sure to include:
Requesting a feature? Please be sure to include:
Including this information in your issue helps us to triage it and get you a response as quickly as possible. Thanks! |
This should be fixed with #3467 - just not released yet. |
Found an answer: function foo(bar, baz,
eggs, spam
) {
bar(eggs, baz, spam);
}
foo(); This is sufficient... Now I just need to refactor a bunch of code :-) |
Or you can wait for the upcoming release ;) |
Whoops, race condition with you @BYK. Thanks! Any word on when that next release will be? (As an open source author myself, I'm sorry to be asking that question). |
@kentcdodds - Heh, no problem. Release is a @nzakas question though :) |
When my function signature gets long (I realize this is an anti-pattern, but we're working on that), I get some odd indent warnings:
Here's the code (for copy/paste):
index.js (this is how lots of my code looks like today)
index.passes.js
.eslintrc
Is there anything I can do to tell ESLint to not care about the fact that the arguments are on multiple lines? Or could I somehow have my arguments on multiple lines in a different way to make it so I still get the indentation of 2?
The text was updated successfully, but these errors were encountered: