This repository was archived by the owner on Jan 19, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 75
Cannot read property 'range' of undefined #156
Labels
Comments
Looks like you might have some JSX in your code. We have some issues parsing that at the moment. Check out this issue: If you can lint one source file at a time that could help narrow it down. |
Ah yes, this is a JSX heavy project. I can confirm this does work if I run it against a .ts file without any JSX. Seems very related to #70 then. |
Please provide minimal source code which will trigger this issue, or close if it is also the JSX text issue. I am definitely keen to get these JSX issues worked out as soon as we can, but it's important we are clear on what the different problems are. |
Sorry for the delay, but here's a very simple example I have:
Results in
|
This will be fixed by #158 |
This should now be fixed on master, full release coming soon! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of TypeScript are you using?
2.1.5
What version of
typescript-eslint-parser
are you using?1.0.2
What code were you trying to parse?
All of my code. I've switched from babel-parser to typescript-eslint-parser. The most useful thing I can provide might be my .eslintrc file.
What did you expect to happen?
Lint my project!
What happened?
A horrible error.
I'm not really sure where to even start with this one.
The text was updated successfully, but these errors were encountered: