Skip to content

v2.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@eslintbot eslintbot released this 20 Dec 20:47
· 103 commits to main since this release
  • 1dd7089 Fix: npm prepare script on Windows (refs #166) (#168) (Brandon Mills)
  • 23ac2b9 Fix: Ignore words in info string after syntax (fixes #166) (#167) (Brandon Mills)
  • 8f729d3 Chore: Switch to main for primary branch (fixes #161) (#165) (Brandon Mills)
  • d30c50f Chore: Automatically install example dependencies (#164) (Brandon Mills)

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.