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
Ran rslint .
in my Projects directory, got an internal linter error
#139
Comments
Do you have the code available somewhere? This is a bug in the lexer/parser which I need the failing code for. |
I was able to narrow down the source of this error to a I'm not into the Rust ecosystem, so I'd be happy to wait for Homebrew to provide me with an updated binary that reports the file that triggers these sorts of errors. Separately, while hunting this particular error down, I found this very similar one triggered by this project's
Again, closed-source, so I can't just drop the whole list. |
You can try running rslint on each file separately using some bash magic using |
@adiabatic can you run this command: find -type f -name "*.js" | xargs -I '{}' sh -c "rslint {} >/dev/null 2>&1 || echo {}" It should print all files that failed to lint, which should help narrow it done to the causing file. |
It complained that I put in the directory to search, and then I was off to the races: find . -type f -name "*.js" | xargs -I '{}' sh -c "rslint {} >/dev/null 2>&1 || echo {}" It lists a bunch of my own files. Possibly every single one of them. It also lists a bunch of files in Skimming the output, it looks like there's more filenames listed than lines containing Is there anything else that I can do to help? |
Ah I forgot to only check for panics. I will send you a new command later. |
hey @Stupremee, encountering the same issues. here's the code: https://gist.github.com/hackermondev/0f74bc31ed51169f1d9c7be3fda40864 |
I saw
rslint
show up as a new formula in Homebrew today and I decided to run it since it seemed like my kind of thing. Since I wasn't quite sure what project to aim it at, I ran it in my Projects directory, which is probably a bit too far removed from actual .js and .ts files, but oh well.However, this happened:
Meta
rslint -V
: rslint 0.3.1The text was updated successfully, but these errors were encountered: