Skip to content

v2.0.0-rc.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@eslintbot eslintbot released this 31 Jan 04:09
· 58 commits to main since this release
  • f6a3fad Fix: overrides pattern for virtual filenames in recommended config (#169) (Milos Djermanovic)

Migrating from eslint-plugin-markdown v1

  1. Install this release candidate:

    $ npm install --save-dev eslint@latest eslint-plugin-markdown@next
  2. In your .eslintrc.js file, extend the recommended config:

     // .eslintrc.js
     module.exports = {
    -    plugins: ["markdown"],
    -    overrides: [
    -        {
    -            files: ["**/*.md"],
    -            parserOptions: {
    -                ecmaFeatures: {
    -                    impliedStrict: true
    -                }
    -            },
    -        }
    -    ]
    +    extends: "plugin:markdown/recommended"
     };

The readme's detailed migration instructions discuss all of the differences between v1 and v2.