ESLint configuration for checking markdown
and mdx
files.
Note
Package from the eslint-eco
monorepository.
I recommend reading the documentation to understand the whole picture.
npm i @pilaton/eslint-config-markdown --save-dev
This configuration is created for the new ESLint Flat Config, and only supports ESM!
eslint.config.js
(eslint>=v8.23.1)
import markdown from '@pilaton/eslint-config-markdown';
export default [
{
// Your config
},
...markdown,
{
// Your config
},
];