Qard / remark-lint-code

Lint fenced code blocks by corresponding language tags
12 stars 1 forks source link

cli example command doesn't work #3

Open ndelangen opened 7 years ago

ndelangen commented 7 years ago

When I run:

➜  storybooks-github-io git:(source) ✗ ./node_modules/.bin/remark -u lint -u lint-code="{\"js\":\"remark-lint-code-eslint\"}" .
Error: Cannot parse `{"js":"remark-lint-code-eslint"}` as JSON: Unexpected token { in JSON around position 1

This is the example giving in the readme, so this would appear broken.