Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Babel does not indent for and if code not in block #19

Open
dmorejon opened this issue Aug 25, 2020 · 0 comments
Open

Babel does not indent for and if code not in block #19

dmorejon opened this issue Aug 25, 2020 · 0 comments

Comments

@dmorejon
Copy link
Contributor

dmorejon commented Aug 25, 2020

When there's an if or a for statement without curly braces, Babel does not indent the code. Stylistically, this is unideal!

Example:

if (i == 11)
child.id = "pass";

should be

if (i == 11)
  child.id = "pass";
@dmorejon dmorejon changed the title Babel does not indent code not in block Babel does not indent for and if code not in block Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant