From 7bfdfc56d7463bd82003772edd711ecc0320976a Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Fri, 28 Aug 2015 07:42:01 -0700 Subject: [PATCH] Enable semi-spacing This rule aims to enforce spacing around a semicolon. This rule prevents the use of spaces before a semicolon in expressions. http://eslint.org/docs/rules/semi-spacing Change-Id: I20a123350ef923c7168c80fe56a9c3e5db0ff4a4 --- .eslintrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 8ef185b..5505d24 100644 --- a/.eslintrc +++ b/.eslintrc @@ -696,7 +696,10 @@ rules: # Enforce spacing before and after semicolons # http://eslint.org/docs/rules/semi-spacing - semi-spacing: 0 # TODO(krotscheck): Discuss & Activate + semi-spacing: + - 2 + - before: false + after: true # Require or disallow use of semicolons instead of ASI # http://eslint.org/docs/rules/semi