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
Description
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'
}