Disallow space between a function & opening paren

This rule was adopted in js-openstack-lib and I propose
we adopt it here as well. Whether we enforce a space or
no space, so long as it is consistent.

Change-Id: I5881b46ea16112729f2327484e56bcb138e0c386
This commit is contained in:
msmol 2016-10-04 11:25:49 -04:00 committed by Corentin Ardeois
parent ade27364a5
commit 99c529ad47

View File

@ -198,6 +198,12 @@ rules:
# http://eslint.org/docs/rules/no-unexpected-multiline
no-unexpected-multiline: 0
# Disallow space before function opening parenthesis
# http://eslint.org/docs/rules/space-before-function-paren
space-before-function-paren:
- 2
- "never"
#############################################################################
# Best Practices
#############################################################################
@ -861,12 +867,6 @@ rules:
- 2
- "always"
# Require or disallow space before function opening parenthesis
# http://eslint.org/docs/rules/space-before-function-paren
space-before-function-paren:
- 0
- "always"
# require or disallow spaces inside parentheses
# http://eslint.org/docs/rules/space-in-parens
space-in-parens: