-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
25 lines (24 loc) · 1.04 KB
/
index.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
import remarkPresetLintRecommended from 'remark-preset-lint-recommended';
import remarkLintListItemIndent from 'remark-lint-list-item-indent';
import remarkLintNoTabs from 'remark-lint-no-tabs';
import remarkLintFinalDefinition from 'remark-lint-final-definition';
import remarkValidateLinks from 'remark-validate-links';
import remarkLintMaximumLineLength from 'remark-lint-maximum-line-length';
import remarkLintOrderedListMarkerValue from 'remark-lint-ordered-list-marker-value';
import remarkLintNoEmptyUrl from 'remark-lint-no-empty-url';
import remarkLintUnorderedListMarkerStyle from 'remark-lint-unordered-list-marker-style';
import remarkGithubFlavoredMarkdown from 'remark-gfm';
export default {
plugins: [
remarkGithubFlavoredMarkdown,
remarkPresetLintRecommended,
[remarkLintListItemIndent, 'one'],
remarkLintNoTabs,
remarkLintFinalDefinition,
remarkValidateLinks,
[remarkLintMaximumLineLength, 80],
[remarkLintOrderedListMarkerValue, 'one'],
remarkLintNoEmptyUrl,
[remarkLintUnorderedListMarkerStyle, '*']
]
};