Enabled no-multi-spaces

It's a good practice to add whitespace in expressions to enhance
readability of code such as:

  if(foo === "bar") {}

In cases where more than one whitespace is added, it can lead to
ugly and inconsistent looking code such as:

  if(foo  === "bar") {}

http://eslint.org/docs/rules/no-multi-spaces

Change-Id: Ie019d47c0a4289716e39c3639268cde361dc3045
This commit is contained in:
Diana Whitten 2015-08-27 16:31:21 -07:00
parent 2c5d458d93
commit 8fae8d3f59
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ rules:
# Disallow use of multiple spaces
# http://eslint.org/docs/rules/no-multi-spaces
no-multi-spaces: 0 # TODO(krotscheck): Discuss & Activate
no-multi-spaces: 2
# Disallow use of multiline strings
# http://eslint.org/docs/rules/no-multi-str