diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -261,7 +261,7 @@ - [X] "sort-keys" - [X] "sort-vars" - [ ] "space-before-blocks" -- [ ] "space-before-function-paren" +- [X] "space-before-function-paren" - [ ] "space-in-parens" - [ ] "space-infix-ops" - [ ] "space-unary-ops" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 4ae19b3..adb6db2 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -190,6 +190,14 @@ "ignoreCase": false } ], + "space-before-function-paren": [ + "error", + { + "anonymous": "always", + "asyncArrow": "always", + "named": "never" + } + ], "valid-jsdoc": [ "off" ], |