space-before-function-paren#13045
Conversation
Adding option InsertSpaceBeforeFunctionParenthesis Should be optional Typically used to support http://eslint.org/docs/rules/space-before-function-paren Fixes microsoft#12234
|
Hi @aochsner, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
|
Realized that this test will fail... any suggestions as to how to fix? Guessing that it is conflicting w/ SpaceAfterFunctionInFuncDecl
|
|
wrt anon functions looks like there's a different toggle: |
|
Okay. I added a couple more test cases for InsertSpaceBeforeFunctionParenthesis. Found InsertSpaceAfterFunctionKeywordForAnonymousFuctions to cover that case. Added InsertSpaceAfterConstructor to handle that case. That should cover the main cases that http://eslint.org/docs/rules/space-before-function-paren enforces. Let me know what else should be done. Thanks! |
Adding option InsertSpaceBeforeFunctionParenthesis
Should be optional
Typically used to support http://eslint.org/docs/rules/space-before-function-paren
Fixes #12234
Fixes #