Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: prevent space-before-function-paren from checking type annotatio…
…ns (#8349) * Fix: prevent space-before-function-paren from checking type annotations Previously, the space-before-function-paren rule's listener would be triggered for custom nodes such as `FunctionTypeAnnotation`, and would throw an error. This broke the regression build. This commit updates the rule to only listen for known function nodes. * Move parser fixture to babel-eslint7/
- Loading branch information
1 parent
3342e9f
commit 35c93e6
Showing
3 changed files
with
566 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.