Open karol-majewski opened 5 years ago
Yes, that seems reasonable to me and a PR could be accepted.
Btw, you may want to switch to eslint as tslint is being deprecated. See the new eslint-plugin-functional project which is a port of the rules in this repo to eslint. You should probably open the same issue over there too.
Offending code
Actual behavior
The
super()
call causes an error.Expected bahavior
No error. There is no way around that.
Possible heuristic
If the offending node is a
CallExpression
, and the inner expression is of typeSuperKeyword
, then the error should not be raised.