Skip to content

JulianCataldo/eslint-mdx-repro

Repository files navigation

Steps

pnpm i
pnpm lint-md

# Does
# pnpm eslint . --ext mdx

Will tap into .remarkrc.mjs


mv .remarkrc.mjs .remarkrc.js

Or .cjs, changing to "type": "module"

Same problem: cosmic config will not accept ESM remark config it seems.


pnpm lint-mdx

# Does
# pnpm remark .

Will tap into .remarkrc.yaml

ESLint won't scan for mjs at all we use YAML (or JSON) here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published