Permit single-line statements in brace-style

This patch updates our brace-style rule configuration to permit
the use of single-line statements.

http://eslint.org/docs/rules/brace-style

Change-Id: I4e36c7535de79b29928b10c8090a2bc93f096760
This commit is contained in:
Michael Krotscheck 2015-11-25 11:09:30 -08:00
parent a04b328444
commit c59829bf76
1 changed files with 4 additions and 1 deletions

View File

@ -528,7 +528,10 @@ rules:
# Enforce one true brace style
# http://eslint.org/docs/rules/brace-style
brace-style: 2
brace-style:
- 2
- "1tbs"
- allowSingleLine: true
# Require camel case names
# http://eslint.org/docs/rules/camelcase