Code Style Javascript indent problems

So, im using ESLINT, but I cannot get the Auto Indention to work properly.


This is what my ESLINT complains about. Its off by two because the export keyword start with 2 indents. (The indent settings are set to 2\2\2).

I tried to be smart and set the indent settings to 2\0\2 but then my code when flat....



Any ideas?

Comment actions Permalink

In Settings | Editor | Code Style | HTML | Other, add script to the Do not indent children of list:

Comment actions Permalink

Ahh, thank you Elena!

Comment actions Permalink


You're always my savior. Thank you, and thank you very much.


Please sign in to leave a comment.