-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
The following function is not matched:
module.exports = function sum (a, b) {
return a + b
}I've done a rule to match that case as a function, but don't know if you didn't want to support on purpose since this is also the case for export default function name1(…) { … } as you pointed out on issue #7.
Wouldn't make sense to create an default export tag type and put them together on that new tag type? What do you think?
(We could try to create a rule only for default named exports with body definition once the ones that doesn't have definition would be already taken by another rules)
rkulla, filmaj and cilindrox
Metadata
Metadata
Assignees
Labels
No labels