-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
45 lines (44 loc) · 1.46 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import remarkRetext from "remark-retext";
import { unified } from "unified";
import retextEnglish from "retext-english";
import retextSyntaxMentions from "retext-syntax-mentions";
import retextSyntaxUrls from "retext-syntax-urls";
import retextSpell from "retext-spell";
import dictionary from "dictionary-en";
import retextContractions from "retext-contractions";
import retextDiacritics from "retext-diacritics";
import retextEquality from "retext-equality";
import retextIndefiniteArticle from "retext-indefinite-article";
import retextIntensify from "retext-intensify";
import retextPassive from "retext-passive";
import retextProfanities from "retext-profanities";
import retextReadability from "retext-readability";
import retextRedundantAcronyms from "retext-redundant-acronyms";
import retextRepeatedWords from "retext-repeated-words";
import retextSentenceSpacing from "retext-sentence-spacing";
import retextSimplify from "retext-simplify";
export default {
plugins: [
[
remarkRetext,
unified().use([
retextEnglish,
retextSyntaxMentions,
retextSyntaxUrls,
[retextSpell, dictionary],
retextContractions,
retextDiacritics,
retextEquality,
retextIndefiniteArticle,
retextIntensify,
retextPassive,
retextProfanities,
retextReadability,
retextRedundantAcronyms,
retextRepeatedWords,
retextSentenceSpacing,
retextSimplify,
]),
],
],
};