Closed moltar closed 8 months ago
Hi @moltar, thanks for the issue!
recommended
config is now in the new flat config format. Since you're using eslintrc config format, can you try with plugin:markdown/recommended-legacy
:
{
"env": {
"jest": true,
"node": true
},
"root": true,
"plugins": [
"markdown"
],
"overrides": [
{
"extends": [
- "plugin:markdown/recommended"
+ "plugin:markdown/recommended-legacy"
],
"files": [
"**/*.md"
],
"processor": "markdown/markdown"
},
{
"files": [
"**/*.md/*.+(cjs|cts|js|jsx|mjs|mts|ts|tsx)"
],
"rules": {
},
"parserOptions": {
"project": false
}
},
]
}
https://github.com/eslint/eslint-plugin-markdown?tab=readme-ov-file#configuring
That fixed it. Could this be handled without forced changes? I.e. could the way this is important be automatically detected?
No, plugin:markdown/recommended
is just a reference to configs.recommended
configuration from the markdown
plugin, which is now in a different format.
After upgrading from
3.0.1
to4.0.1
I've started to get the following error:Is this the expected behaviour due to flat config change?
Simplified config: