standard/semistandard

Expected to call super on super.apply

shellscape opened this issue · 1 comments

semistandard is throwing an error on the following code, claiming that super is never called. It doesn't appear to be accounting for super.apply.

class Child extends Base {
  constructor() {
    super.apply(null, arguments);
  }
};

Unfortunately Node@4 doesn't support the spread operator or I would have just used that.

Going to close this one. It technically shouldn't throw on this, but since the support for that kind of a call to super isn't at all wide-spread, it's probably not that important.