forked from GoogleChrome/web.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.remarkrc.js
49 lines (46 loc) · 1.8 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
39
40
41
42
43
44
45
46
47
48
49
exports.plugins = [
// Markdown linting
// https://github.com/remarkjs/remark-lint#rules
require('remark-lint'),
require('remark-frontmatter'),
// Remark Lint Style Guide preset and overrides.
require('remark-preset-lint-markdown-style-guide'),
['lint-blockquote-indentation', false],
['lint-emphasis-marker', false],
['lint-fenced-code-flag', false],
['lint-hard-break-spaces', false],
['lint-link-title-style', false],
['lint-list-item-content-indent', false],
['lint-list-item-indent', false],
['lint-list-item-spacing', false],
['lint-maximum-heading-length', false],
['lint-maximum-line-length', false],
['lint-no-blockquote-without-marker', false],
['lint-no-consecutive-blank-lines', false],
['lint-no-duplicate-headings', false],
['lint-no-emphasis-as-heading', false],
['lint-no-file-name-articles', false],
['lint-no-heading-punctuation', ':.,;'],
['lint-no-multiple-toplevel-headings', false],
['lint-no-shell-dollars', false],
['lint-no-shortcut-reference-link', false],
['lint-no-table-indentation', false],
['lint-ordered-list-marker-style', false],
['lint-ordered-list-marker-value', 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],
// Third-party plugins.
require('remark-lint-are-links-valid'),
require('remark-lint-no-duplicate-headings-in-section'),
// Custom plugins.
require('./tools/linting/bad-urls.js'),
require('./tools/linting/fenced-code-flag.js'),
require('./tools/linting/no-dash-spaces.js'),
require('./tools/linting/no-repeat-punctuation.js'),
require('./tools/linting/no-smart-quotes.js'),
require('./tools/linting/no-unescaped-template-tags.js'),
];