AirBNB style and Intellij chainned Promise indentation



I have this issue:

Tried to solve it in many ways, but the "Reformat Code" option always add double indent and I end up with 10 spaces, and not 8.

Is there a way to fix it ?


Comment actions Permalink

Please import code style preferences from ESLint ( and then try a workaround from in Settings | Editor | Code Style | TypeScript, choose Set From -> JavaScript - does it help?



Comment actions Permalink

That doesn't fix the issue, unfortunately. If I use the option Fix ESLint Problems it does fix the problem, but when I use the option "reformat code", it removes what "Fix ESLint" fixed.



What actually fix the issue for me was to create a new shortcut for the FIX ESlint Problems


Please sign in to leave a comment.