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
This commit is contained in:
Michael Krotscheck 2015-08-28 07:42:01 -07:00
parent 165bb5bde2
commit 7bfdfc56d7
1 changed files with 4 additions and 1 deletions

View File

@ -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