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:
parent
165bb5bde2
commit
ee73665cbb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue