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 (6,726 forks)batch import
Help WantedSuggestion

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (Avg merge 6d 17h) (9 merged PRs in 30d)

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