forked from TfTHacker/obsidian42-brat
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.remarkrc.cjs
71 lines (69 loc) · 2.77 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
module.exports = {
settings: {
bullet: '-',
bulletOther: '*',
// bulletOrdered: '.',
strong: '*',
emphasis: '_',
// incrementListMarker: true,
listItemIndent: 'one',
},
plugins: [
'preset-lint-recommended',
'preset-lint-consistent',
'preset-lint-markdown-style-guide',
'preset-prettier',
// all rules are warnings by default (can set individual rules to error)
['lint-no-multiple-toplevel-headings', false],
['lint-no-duplicate-headings', 'warn'],
['lint-emphasis-marker', '_'],
// ['lint-list-item-indent', 'space'],
// ['lint-list-item-spacing', false],
// ['lint-ordered-list-marker-style', ['error', '.']], // 'consistent', '.', ')'
// ['lint-maximum-line-length', false],
// ['lint-ordered-list-marker-value', ['error', 'ordered']], // 'ordered', 'single', 'one'
// These are the rest of the rules set in the preset (disable as needed)
// ['lint-blockquote-indentation', false],
// ['lint-checkbox-character-style', false],
// ['lint-code-block-style', false],
// ['lint-definition-case', false],
// ['lint-definition-spacing', false],
// ['lint-fenced-code-flag', false],
// ['lint-fenced-code-marker', false],
// ['lint-file-extension', false],
// ['lint-final-definition', false],
// ['lint-final-newline', false],
// ['lint-hard-break-spaces', false],
// ['lint-heading-increment', false],
// ['lint-heading-style', false],
// ['lint-link-title-style', false],
// ['lint-list-item-bullet-indent', false],
// ['lint-list-item-content-indent', false],
// ['lint-maximum-heading-length', false],
// ['lint-no-blockquote-without-marker', false],
// ['lint-no-consecutive-blank-lines', false],
// ['lint-no-duplicate-definitions', false],
// ['lint-no-emphasis-as-heading', false],
// ['lint-no-file-name-articles', false],
// ['lint-no-file-name-consecutive-dashes', false],
// ['lint-no-file-name-irregular-characters', false],
// ['lint-no-file-name-mixed-case', false],
// ['lint-no-file-name-outer-dashes', false],
// ['lint-no-heading-content-indent', false],
// ['lint-no-heading-punctuation', false],
// ['lint-no-inline-padding', false],
// ['lint-no-literal-urls', false],
// ['lint-no-shell-dollars', false],
// ['lint-no-shortcut-reference-image', false],
// ['lint-no-shortcut-reference-link', false],
// ['lint-no-table-indentation', false],
// ['lint-no-undefined-references', false],
// ['lint-no-unused-definitions', false],
// ['lint-rule-style', false],
// ['lint-strong-marker', false],
// ['lint-table-cell-padding', false],
// ['lint-table-pipe-alignment', false],
// ['lint-table-pipes', false],
// ['lint-unordered-list-marker-style', false],
],
};