-
Notifications
You must be signed in to change notification settings - Fork 64
/
.remarkrc.cjs
83 lines (82 loc) · 1.41 KB
/
.remarkrc.cjs
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
const IGNORE_CASING_WORDS = [
'non-serial',
'KitQL',
'RxJS',
'TL;DR',
'MCB',
'SaaS',
'The Guild',
'SF',
'WhatsApp',
'ESM',
'SDL',
'SwiftGraphQL',
'OK-GROW',
'JSON',
'OpenAPI',
'RESTful',
'REST',
'SOFA',
'vs',
'AST',
'SDK',
'DI', // Dependency Injection
'APIs',
'SvelteKit',
'RabbitMQ',
'PWA',
'WebSocket',
'WebSockets',
'SSE',
'SSEs',
'ClickHouse',
'urql',
'HOC',
'MongoDB',
'AuthZ',
'DOM',
'npm',
'NestJS',
'WebGL',
'WebAssembly',
'ES6',
'accounts-js',
'Vue.js',
'DataLoader',
'AoT',
'ESLint',
'MDX',
'SEO',
'LTR',
'RTL',
'SWC',
'feTS',
'tRPC',
'ORM',
'TOC',
'CJS',
'MathJax',
'LaTeX',
'MikroORM',
'GraphQL.js',
];
module.exports = {
plugins: [
// "preset-lint-consistent", // Check that markdown is consistent.
// "preset-lint-recommended", // Few recommended rules.
// "preset-lint-markdown-style-guide", // Markdown style guide.
// "preset-prettier",
// `remark-lint-list-item-indent` is configured with `tab-size` in the
// recommended preset, but if we’d prefer something else, it can be
// reconfigured:
// [
// "remark-lint-list-item-indent",
// "space"
// ]
'frontmatter',
'lint-no-multiple-toplevel-headings',
['lint-chicago-heading', ['error', IGNORE_CASING_WORDS]],
'lint-no-dot-at-end-of-heading',
'lint-no-full-bold-heading',
],
};