-
Notifications
You must be signed in to change notification settings - Fork 1
/
.remarkrc.js
38 lines (38 loc) · 1.05 KB
/
.remarkrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
exports.plugins = [
require("remark-preset-lint-consistent"),
require("remark-preset-lint-recommended"),
[require("remark-lint-list-item-indent"), false],
[require("remark-lint-maximum-line-length"), 1024],
[require("remark-lint-unordered-list-marker-style"), "consistent"],
require("remark-lint-heading-whitespace"),
require("remark-validate-links"),
require("remark-frontmatter"),
[
require("remark-retext"),
require("unified")().use({
plugins: [
require("retext-english"),
require("retext-syntax-urls"),
[
require("retext-sentence-spacing"),
{
preferred: 1
}
],
require("retext-repeated-words"),
require("retext-usage"),
require("retext-indefinite-article"),
require("retext-redundant-acronyms"),
[
require("retext-contractions"),
{
straight: true,
allowLiteral: true
}
],
require("retext-diacritics"),
require("retext-passive")
]
})
]
];