Wednesday 13 April 2016

ESLint not completely indenting when using --fix

I'm looking at switching from JSCS/JSHint to ESlint (mainly so I have some compatibility between my dev environment and codeclimate). In the process I want to switch from 4 space to 2 space indenting. JSCS appears to do this flawlessly, but with ESLint I need to run it multiple times to get everything indented. --fix only seems to fix one level of indenting at a time.Am I missing something? How do I get ESLint to completely indent a file?

Submitted April 13, 2016 at 06:27PM by skarfacegc

No comments:

Post a Comment