Skip to content

Commit c9300ed

Browse files
feat: update markdown config
1 parent 684fa41 commit c9300ed

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/plugins/markdown.ts

+16
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,20 @@ import type { Linter } from "eslint";
22

33
export const settings: Linter.Config = {
44
plugins: ["markdown"],
5+
6+
extends: ["plugin:markdown/recommended"],
7+
8+
overrides: [
9+
{
10+
files: ["**/*.md"],
11+
processor: "markdown/markdown",
12+
},
13+
{
14+
files: ["**/*.md/**"],
15+
rules: {
16+
"no-console": "off",
17+
"prettier/prettier": "off",
18+
},
19+
},
20+
],
521
};

0 commit comments

Comments
 (0)