Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.
This repository was 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

@dmorejon

Description

@dmorejon

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";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions