I was trying to use the lint-no-missing-blank-lines rule with this package, but ran into some problems. Given a Markdown file with the following content:
# Example
foobar
```js
let x = 42;
console.log(x);
```
6:1 error Missing blank line before block node (no-missing-blank-lines) md/remark
7:1 error Missing blank line before block node (no-missing-blank-lines) md/remark
8:1 error Missing blank line before block node (no-missing-blank-lines) md/remark
I was trying to use the
lint-no-missing-blank-lines
rule with this package, but ran into some problems. Given a Markdown file with the following content:Using this plugin with ESLint
Gives the following errors:
Whereas a similar setup using remark-lint directly reports no errors, see https://codesandbox.io/s/remark-debug-forked-w8w1w?file=/src/index.js
I'm guessing this plugin/ESLint is doing something to the file that confuses remark, but I wasn't able to figure out what...