Skip to content

Commit 0ee86e9

Browse files
authored
chore: upgrade eslint-plugin-markdown (#246)
1 parent f29f9f0 commit 0ee86e9

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

eslint.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import html from "eslint-plugin-html";
21
import es from "eslint-plugin-es";
2+
import html from "eslint-plugin-html";
3+
import markdown from "eslint-plugin-markdown";
34
import globals from "globals";
45
import typescriptEslint from "@typescript-eslint/eslint-plugin";
56
import tsParser from "@typescript-eslint/parser";
@@ -18,7 +19,8 @@ const compat = new FlatCompat({
1819

1920
export default [
2021
{ ignores: ["**/*\\{.,-}min.js", "docs/Chart.Financial.js"] },
21-
...compat.extends("chartjs", "plugin:es/restrict-to-es2018", "plugin:markdown/recommended"),
22+
...compat.extends("chartjs", "plugin:es/restrict-to-es2018"),
23+
...markdown.configs.recommended,
2224
{
2325
files: ["**/*.html"],
2426
plugins: { html },

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"eslint-config-chartjs": "^0.3.0",
4343
"eslint-plugin-es": "^4.1.0",
4444
"eslint-plugin-html": "^8.1.2",
45-
"eslint-plugin-markdown": "^3.0.1",
45+
"eslint-plugin-markdown": "^5.1.0",
4646
"globals": "^15.12.0",
4747
"jasmine": "^5.1.0",
4848
"karma": "^6.3.4",

0 commit comments

Comments
 (0)