Git Product home page Git Product logo

Comments (4)

David-Else avatar David-Else commented on June 11, 2024 1

Thanks, I updated and all is well :)

from eslint-plugin-markdown.

btmills avatar btmills commented on June 11, 2024

Can you provide more information? What have you done, and what are you observing?

from eslint-plugin-markdown.

David-Else avatar David-Else commented on June 11, 2024

I have not actually tried it, I just read all the docs relating to v1 vs v2 and it seems the API has changed https://github.com/eslint/eslint-plugin-markdown#migrating-from-eslint-plugin-markdown-v1 .

Maybe I have made a mistake... are the examples approved for v2? My current config is based on those examples and the rc version "eslint-plugin-markdown": "^2.0.0-rc.0",. I would like to update the dependencies and am worried everything might break:

https://github.com/David-Else/modern-typescript-with-examples-cheat-sheet/blob/master/.eslintrc.js

"use strict";

module.exports = {
  root: true,
  extends: ["eslint:recommended", "plugin:markdown/recommended"],
  overrides: [
    {
      files: [".eslintrc.js"],
      env: {
        node: true,
      },
    },
    {
      files: ["*.ts"],
      parser: "@typescript-eslint/parser",
      extends: ["plugin:@typescript-eslint/recommended"],
      rules: {
        "@typescript-eslint/no-unused-vars": "off",
        "@typescript-eslint/no-empty-function": "off",
        "@typescript-eslint/ban-types": "off",
        "@typescript-eslint/no-explicit-any": "off",
      },
    },
  ],
};

Thanks! I hope I haven't wasted your time.

from eslint-plugin-markdown.

btmills avatar btmills commented on June 11, 2024

The examples are tested as part of every PR, so they should be all good! If you’re using the v2 release candidate, you should be able to upgrade to the v2 final without issue.

from eslint-plugin-markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.