Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

typescript-eslint-parser fails on indent rule #33

Closed
ran-zilberman opened this issue Mar 21, 2016 · 2 comments
Closed

typescript-eslint-parser fails on indent rule #33

ran-zilberman opened this issue Mar 21, 2016 · 2 comments
Labels

Comments

@ran-zilberman
Copy link

Hi,

We are running some tests to evaluate the usage of this parser in order to enable eslint in our typescript projects.
I am using master version and eslint 2.4.0.

I created a small repo which demonstrates our problem:
https://github.com/ranzwix/typescript-eslint-parser-check

It seems that the AST generated by the "code-sample.ts" file and the token-store are not aligned properly, therefore when getting to
"getNodeIndent" function, the code fails to find the appropriate token, and fails on the next line where
the method tries to access the undefined variable properties.
The instructions to run this example are in the repo itself.

Please note that the code passes OK if you remove that rule from the configuration file.

Best regards,
Ran

@nzakas
Copy link
Member

nzakas commented Mar 22, 2016

Thanks. This parser isn't ready to be used yet, it's still very much experimental, so we aren't yet tackling ESLint bugs. See #13 for more details.

@nzakas
Copy link
Member

nzakas commented Jul 5, 2016

Closing as we aren't accepting issues for ESLint rule bugs as they are not expected to work at this point.

@nzakas nzakas closed this as completed Jul 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants