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:
parent
2c5d458d93
commit
8fae8d3f59
|
@ -288,7 +288,7 @@ rules:
|
||||||
|
|
||||||
# Disallow use of multiple spaces
|
# Disallow use of multiple spaces
|
||||||
# http://eslint.org/docs/rules/no-multi-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
|
# Disallow use of multiline strings
|
||||||
# http://eslint.org/docs/rules/no-multi-str
|
# http://eslint.org/docs/rules/no-multi-str
|
||||||
|
|
Loading…
Reference in New Issue