Browse Source

Merge "Disallow space between a function & opening paren"

changes/83/403183/1
Jenkins 2 years ago
parent
commit
64a07dcdfd
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      .eslintrc

+ 6
- 6
.eslintrc View File

@@ -198,6 +198,12 @@ rules:
198 198
   # http://eslint.org/docs/rules/no-unexpected-multiline
199 199
   no-unexpected-multiline: 0
200 200
 
201
+  # Disallow space before function opening parenthesis
202
+  # http://eslint.org/docs/rules/space-before-function-paren
203
+  space-before-function-paren:
204
+    - 2
205
+    - "never"
206
+
201 207
   #############################################################################
202 208
   # Best Practices
203 209
   #############################################################################
@@ -861,12 +867,6 @@ rules:
861 867
    - 2
862 868
    - "always"
863 869
 
864
-  # Require or disallow space before function opening parenthesis
865
-  # http://eslint.org/docs/rules/space-before-function-paren
866
-  space-before-function-paren:
867
-    - 0
868
-    - "always"
869
-
870 870
   # require or disallow spaces inside parentheses
871 871
   # http://eslint.org/docs/rules/space-in-parens
872 872
   space-in-parens:

Loading…
Cancel
Save