Microsoft/TypeScript

Formatter: allow continuation indent different from nested indent

Open

#1,991 opened on Feb 9, 2015

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (48,455 stars) (6,726 forks)batch import
Help WantedSuggestion

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