You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
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'
}
The text was updated successfully, but these errors were encountered:
danlshields
changed the title
Any line beginning with 'default' or 'case' wants to decrease indent
Any line beginning with 'default*' or 'case*' wants to decrease indent
Jun 23, 2014
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 afterdefault
andcase
before decreasing the line indent.E.g.
Is changed to
The text was updated successfully, but these errors were encountered: