Comments (4)
Thanks, I updated and all is well :)
from eslint-plugin-markdown.
Can you provide more information? What have you done, and what are you observing?
from eslint-plugin-markdown.
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.
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)
- [bug] `blocks` will be reset on `preprocess` every time and will break `.md` in `.md` HOT 5
- Update remark-parse dependency HOT 2
- how can you use multiple overrides to target different code blocks? HOT 1
- Switch from cjs to esm HOT 2
- Support ESLint 8.x HOT 5
- feat: option to ignore certain languages HOT 19
- wrong Configuring HOT 1
- [FR] option to ignore code blocks by meta string HOT 4
- Usage with TypeScript and type-aware rules HOT 2
- Invitation to move to official `eslint-community` org HOT 8
- Is there a option to disable `Parsing error: Identifier '' has already been declared` HOT 11
- Doesn't work with custom parser HOT 13
- Support for JS inside HTML inside Markdown. HOT 6
- request: update dependencies HOT 3
- Configure file name based on block meta HOT 7
- plugin is not working here [problem and workaround identified inside this issue] HOT 3
- Rule removing redundant trailing slashes from links HOT 1
- Flat config HOT 7
- TypeError: Converting circular structure to JSON HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-markdown.