Microsoft/TypeScript

Formatter: allow continuation indent different from nested indent

Open

#1.991 geöffnet am 9. Feb. 2015

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (6.726 Forks)batch import
Help WantedSuggestion

Repository-Metriken

Stars
 (48.455 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (9 gemergte PRs in 30 T)

Beschreibung

The Google style guide http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Code_formatting requires indenting by two spaces for nested code, but by 4 spaces when continuing a statement or declaration on the next line. This configuration doesn't seem to be possible.

Contributor Guide