From 5fcd9563e80886bdb2cb41902264ef9674960803 Mon Sep 17 00:00:00 2001 From: Diana Whitten Date: Thu, 27 Aug 2015 17:06:19 -0700 Subject: [PATCH] Enable brace-style Require Brace Style (brace-style) Brace style is closely related to indent style in programming and describes the placement of curly braces relative to their control statement and body. There are probably a dozen, if not more, brace styles in the world. The one true brace style is one of the most common brace styles in JavaScript, in which the opening curly brace of a block is placed on the same line as its corresponding statement or declaration. http://eslint.org/docs/rules/brace-style Change-Id: I2902ef3821f7a2e89f24b8e8af542919c54c24fe --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 568ee54..e1ad288 100644 --- a/.eslintrc +++ b/.eslintrc @@ -501,7 +501,7 @@ rules: # Enforce one true brace style # http://eslint.org/docs/rules/brace-style - brace-style: 0 # TODO(krotscheck): Discuss & Activate + brace-style: 2 # Require camel case names # http://eslint.org/docs/rules/camelcase