-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no-inner-declarations wrongfully fails on exports after the first statement #12
Comments
If |
Oh that is true, and this brings up another point, the linter should not tread into ERROR nodes, it should skip them and their children because the data inside is non-sensical |
This is going to be complicated, because many lints use |
that does not matter if the linter does not step into the children of error nodes |
Ah yes, that makes sense. Misunderstood your message |
Although the file is |
If I rename it to Edit: Nvm it doesn't. 😅 Because |
haha so the issue is still there, although we caught another issue for ERROR nodes |
Oh haha, that makes sense, its an easy fix |
Fixed in 970df03 |
I tried this code:
I expected this to happen: linting passes
Instead this happened::
Meta
rslint -V
:rslint 0.1.0
If building from source:
rustc --version --verbose
:**If
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: