Microsoft/TypeScript

Formatter: allow continuation indent different from nested indent

Open

#1,991 创建于 2015年2月9日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (48,455 star) (6,726 fork)batch import
Help WantedSuggestion

描述

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.

贡献者指南

Formatter: allow continuation indent different from nested indent · Microsoft/TypeScript#1991 | Good First Issue