-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Spotted by @sokra, getter patterns currently don't detect with trailing commas:
Works:
Object.defineProperty(exports, 'a', {
enumerable: true,
get: function () {
return q.p;
}
});Doesn't work:
Object.defineProperty(exports, 'a', {
enumerable: true,
get: function () {
return q.p;
},
});This is a trivial fix, but likely misses the cutoff for stability at this point.
These were designed mostly to catch Babel / TypeScript build outputs so in most cases we should be ok without this support though since it would only affect users explicitly writing in this style where it is not generated code.
Metadata
Metadata
Assignees
Labels
No labels