You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Describe the bug
I noticed that the indentation of the multiline assignment depends on whether it is an assignment (line starts with const or let) or an re-assignment (line starts just with the variable itself).
[ ] I am willing to submit a PR with failing tests
The text was updated successfully, but these errors were encountered:
anne-gropler
changed the title
indent-binary-ops: Expects 0 intendation when re-assigning.indent-binary-ops: Expects 0 intendation on multiline re-assignment
Sep 24, 2024
Validations
Describe the bug
I noticed that the indentation of the multiline assignment depends on whether it is an assignment (line starts with
const
orlet
) or an re-assignment (line starts just with the variable itself).Expected:
Actual:
Reproduction
https://stackblitz.com/edit/github-fmnurc?file=src%2Findex.ts,README.md,eslint.config.js
Contributes
[ ] I am willing to submit a PR to fix this issue[ ] I am willing to submit a PR with failing testsThe text was updated successfully, but these errors were encountered: