-
-
Notifications
You must be signed in to change notification settings - Fork 75
Overloaded method signatures failing on certain eslint rules #389
Comments
I think they’re checking the |
Thanks for the suggestion @j-f1. Taking a stab at fixing these failures in |
Thanks a lot for working on this @ismail-syed! Unfortunately, it seems that modifying the core rules is not going to be a sustainable way forward. This is arguably not technically an issue with the parser, but rather how it integrates with the wider ESLint ecosystem. However, I am definitely happy to keep this open here to track. I am going to think about the best way forward with this and also chat with the TypeScript team about it. |
How about |
Thanks for the update, @JamesHenry! Interested to hear what's decided for moving forward. |
Doing a check here for |
This was finally fixed by #412. I added the source above as an integration test. |
What version of TypeScript are you using?
2.5.2
What version of
typescript-eslint-parser
are you using?8.0.0
What code were you trying to parse?
What did you expect to happen?
With the following rules enabled, I would expect the code above to be parsed. The issue seems to be that parsing overloaded method signatures, with the following eslint rules enabled fails.
Turning off all those rules, and enabling them individually fails as well.
What happened?
Example repo:
https://github.com/ismail-syed/typescript-eslint-parser-example
The text was updated successfully, but these errors were encountered: