Skip to content

Newline indent levelΒ #75

Closed as not planned
Closed as not planned
@danepowell

Description

@danepowell

It seems like there's no way to set the newline indent level. If you have a JSON file indented at 4 spaces (as is the standard for composer.json, for instance) and add a newline anywhere in the file, the line gets reformatted to 2 spaces.

js-indent-level has no effect. My understanding is that json-reformat:indent-level only affects the reformat level, not when adding a newline, and anyway support for json-reformat was removed in #69.

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