Skip to content

Commit 88fd825

Browse files
committed
remark-lint: update rules
1 parent ffb9d4f commit 88fd825

File tree

1 file changed

+57
-3
lines changed

1 file changed

+57
-3
lines changed

.remarkrc

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,63 @@
11
{
22
"plugins": {
3-
"remark-lint": {
4-
"list-item-indent": false,
3+
"lint": {
4+
"blockquote-indentation": 1,
5+
"checkbox-character-style": { "checked": "x", "unchecked": " " },
6+
"checkbox-content-indent": true,
7+
"code-block-style": "fenced",
8+
"definition-case": true,
9+
"definition-spacing": true,
10+
"emphasis-marker": "_",
11+
"fenced-code-flag": true,
12+
"fenced-code-marker": "`",
13+
"file-extension": "md",
14+
"final-definition": true,
15+
"final-newline": true,
16+
"first-heading-level": 1,
17+
"hard-break-spaces": true,
18+
"heading-increment": true,
19+
"heading-style": "atx",
20+
"link-title-style": false,
21+
"list-item-bullet-indent": true,
22+
"list-item-content-indent": true,
23+
"list-item-indent": "space",
524
"list-item-spacing": false,
6-
"no-file-name-mixed-case": false
25+
"maximum-heading-length": 60,
26+
"maximum-line-length": 80,
27+
"no-auto-link-without-protocol": true,
28+
"no-blockquote-without-caret": true,
29+
"no-consecutive-blank-lines": true,
30+
"no-duplicate-definitions": true,
31+
"no-duplicate-headings": true,
32+
"no-emphasis-as-heading": true,
33+
"no-file-name-articles": true,
34+
"no-file-name-consecutive-dashes": true,
35+
"no-file-name-irregular-characters": true,
36+
"no-file-name-mixed-case": false,
37+
"no-file-name-outer-dashes": true,
38+
"no-heading-content-indent": true,
39+
"no-heading-indent": true,
40+
"no-heading-punctuation": true,
41+
"no-html": true,
42+
"no-inline-padding": true,
43+
"no-literal-urls": true,
44+
"no-missing-blank-lines": true,
45+
"no-multiple-toplevel-headings": true,
46+
"no-shell-dollars": true,
47+
"no-shortcut-reference-image": true,
48+
"no-shortcut-reference-link": true,
49+
"no-table-indentation": true,
50+
"no-tabs": true,
51+
"no-undefined-references": true,
52+
"no-unused-definitions": true,
53+
"ordered-list-marker-style": ".",
54+
"ordered-list-marker-value": "ordered",
55+
"rule-style": "_______",
56+
"strong-marker": "*",
57+
"table-cell-padding": "padded",
58+
"table-pipe-alignment": true,
59+
"table-pipes": true,
60+
"unordered-list-marker-style": "*"
761
}
862
}
963
}

0 commit comments

Comments
 (0)