Enable space-in-parens

This rule will enforce consistency of spacing directly inside of
parentheses, by disallowing or requiring one or more spaces to
the right of ( and to the left of ). In either case, () will still
be allowed.

Change-Id: I83edef0598f82c2b34fd3a4d7262b6ea9204d2b3
This commit is contained in:
Michael Krotscheck 2015-08-28 06:51:59 -07:00
parent 165bb5bde2
commit ee73665cbb
1 changed files with 3 additions and 1 deletions

View File

@ -726,7 +726,9 @@ rules:
# require or disallow spaces inside parentheses
# http://eslint.org/docs/rules/space-in-parens
space-in-parens: 0 # TODO(krotscheck): Discuss & Activate
space-in-parens:
- 2
- "never"
# Require spaces around operators
# http://eslint.org/docs/rules/space-infix-ops