-
Notifications
You must be signed in to change notification settings - Fork 63
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
Getting it to work in VSCode? #112
Getting it to work in VSCode? #112
Comments
I'm able to reproduce something like this with a configuration similar to yours, though I removed the
|
Issue #112 reported VSCode drawing squigglies all the way from the top of a file to a line in a code block with a syntax error rather than just squigglying the line with the syntax error. For messages that only specified start locations, the processor was adding `endLine: NaN`.
I finally figured out what was causing this! Most ESLint rules pass both start and end locations, but parse errors only specify start locations. A bug was causing the processor to add |
😍 |
I installed eslint-plugin-markdown in a project I'm editing with VScode and ran into issues
First I added the suggested overrides then I checked for errors in a markdown file, no errors show even thought I put intentional errors.
I tried adding
"markdown"
to theeslint.validate
setting as in in<projectfolder>/.vscode/settings.json
But in that case VSCode seems be trying to lint the entire markdown file as JavaScript. I get errors on the entire file starting with the first line which is just normal text.
Any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered: