Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Any line beginning with 'default*' or 'case*' wants to decrease indent #33

Closed
@danlshields

Description

@danlshields

Every time a line starts with default (e.g. in JSON) language-javascript wants to decrease the indent, regardless of whether its part of a larger word. The solution is to ensure that there is a word boundary after default and case before decreasing the line indent.

E.g.

{
  defaultSerializer: '-rest'
}

Is changed to

{
defaultSerializer: '-rest'
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions