eslint / eslint-plugin-markdown

Lint JavaScript code blocks in Markdown documents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can you use multiple overrides to target different code blocks?

NullVoxPopuli opened this issue · comments

for example, in normal project files, I utilize overrides to target cjs and esm code separately

is there a way to do that with some code-fence annotation?

```js cjs
maybe?
```

This is generally handy for an ESM library / that maybe has a CJS configuration file

oh! I just change the extension from js to cjs. 🤦