-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
GoogleForCreators/web-stories-wp
#6765Description
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.
{
...
"overrides": [
{
"files": [ "**/*.md" ],
"parserOptions": {
"ecmaFeatures": {
"impliedStrict": true
},
},
"rules": {
"strict": "off"
}
}
]
}
I tried adding "markdown" to the eslint.validate setting as in in <projectfolder>/.vscode/settings.json
{
"eslint.validate": [ "javascript", "html", "markdown" ]
}
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?
alex996, robseaman, mightyiam, rocketkai and gabor-at-reedmightyiam