forked from sindresorhus/awesome-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
62 lines (57 loc) · 2.57 KB
/
config.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
50
51
52
53
54
55
56
57
58
59
60
61
62
'use strict';
exports.plugins = [
require('remark-lint'),
// Official plugins
[require('remark-lint-blockquote-indentation'), 2],
[require('remark-lint-checkbox-character-style'), 'consistent'],
require('remark-lint-checkbox-content-indent'),
[require('remark-lint-code-block-style'), 'fenced'],
require('remark-lint-definition-case'),
require('remark-lint-definition-spacing'),
[require('remark-lint-emphasis-marker'), 'consistent'],
[require('remark-lint-fenced-code-marker'), '`'],
require('remark-lint-file-extension'),
require('remark-lint-final-newline'),
require('remark-lint-hard-break-spaces'),
[require('remark-lint-heading-style'), 'atx'],
[require('remark-lint-link-title-style'), '\''],
require('remark-lint-list-item-bullet-indent'),
// TODO: this rule doesn't properly handle tab indents
// require('remark-lint-list-item-content-indent'),
[require('remark-lint-list-item-indent'), 'space'],
require('remark-lint-no-auto-link-without-protocol'),
require('remark-lint-no-blockquote-without-marker'),
require('remark-lint-no-emphasis-as-heading'),
require('remark-lint-no-file-name-articles'),
require('remark-lint-no-file-name-consecutive-dashes'),
require('remark-lint-no-file-name-irregular-characters'),
require('remark-lint-no-file-name-mixed-case'),
require('remark-lint-no-file-name-outer-dashes'),
require('remark-lint-no-heading-content-indent'),
require('remark-lint-no-heading-indent'),
require('remark-lint-no-heading-punctuation'),
require('remark-lint-no-inline-padding'),
[require('remark-lint-no-multiple-toplevel-headings'), 1],
require('remark-lint-no-shell-dollars'),
require('remark-lint-no-table-indentation'),
require('remark-lint-no-undefined-references'),
require('remark-lint-no-unneeded-full-reference-image'),
require('remark-lint-no-unneeded-full-reference-link'),
require('remark-lint-no-unused-definitions'),
[require('remark-lint-ordered-list-marker-style'), 'consistent'],
[require('remark-lint-ordered-list-marker-value'), 'ordered'],
[require('remark-lint-rule-style'), '---'],
[require('remark-lint-strong-marker'), 'consistent'],
[require('remark-lint-table-cell-padding'), 'consistent'],
require('remark-lint-table-pipe-alignment'),
require('remark-lint-table-pipes'),
[require('remark-lint-unordered-list-marker-style'), 'consistent'],
// Third-party plugins
// Disabled as it throws `file.warn is not a function`
// require('remark-lint-no-empty-sections'),
require('remark-lint-match-punctuation'),
require('remark-lint-no-repeat-punctuation'),
require('remark-lint-double-link'),
// Custom plugins
...require('./rules')
];