-
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
We currently look for:
module.exports = function (context) { ... }export default function (context) { ... }We could look for a default-exported function that has at least one object return:
module.exports = function (context) { return { ... } }export default function (context) { return { ... } }
This would help reduce false positives.
Originally posted by @bmish in #201 (comment)
Metadata
Metadata
Assignees
Labels
No labels