Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.1 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.1 KB

@pilaton/eslint-config-markdown

npm

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.

Included in the package

  1. eslint-plugin-mdx
  2. eslint-plugin-markdownlint

Install

npm i @pilaton/eslint-config-markdown --save-dev

Usage

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
  },
];