Microsoft/TypeScript

Formatter: allow continuation indent different from nested indent

Open

#1,991 opened on Feb 9, 2015

 (1 comment) (0 reactions) (0 assignees)TypeScript (13,395 forks)batch import
Help WantedSuggestion

Repository metrics

Stars
 (108,860 stars)
PR merge metrics
 (PR metrics pending)

Description

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