-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[@typescript-eslint/indent] False positive on chained calls in multiline const declaration #119
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
Comments
the indenter does some seemingly weird things sometimes in regards to how it calculates indentation. confirmed against master. |
Just to add a bit more detail here, I temporarily added the code samples above into the (My intention was to attempt debugging the problem myself and submit a PR, but I got lost trying to understand how the rule actually works). When the test suite runs, the error reported includes I'm not sure if this helps at all.
|
Repro
Expected Result
No errors
Actual Result
Additional Info
JQuery<HTMLElement>
) are used.An example without generics does not error:
Versions
@typescript-eslint/eslint-plugin
1.0.0
@typescript-eslint/parser
1.0.0
TypeScript
3.2.1
ESLint
5.11.1
node
11.5.0
npm
6.5.0
The text was updated successfully, but these errors were encountered: