forked from cypress-io/cypress-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.textlintrc
67 lines (61 loc) · 1.51 KB
/
.textlintrc
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
{
"rules": {
"eslint": {
"configFile": ".eslintrc-textlint",
"ignoreParsingErrors": true
},
"terminology": {
"defaultTerms": false,
"terms": [
// Cypress product
["the command log", "the Command Log"],
["dashboard service", "Dashboard Service"],
["test runner", "Test Runner"],
// "Brands"
"AppVeyor",
"BrowserStack",
"ESLint",
"GitHub",
"GraphQL",
"JavaScript",
"Lodash",
"TypeScript",
"YouTube",
"iOS",
"jQuery",
"npm",
["React[ .]js", "React"],
["SauceLabs", "Sauce Labs"],
// Abbreviations
"API",
"Ajax",
"CLI",
"CSS",
"gif",
["API['’]?s", "APIs"],
// Words and phrases
["\\(s\\)he", "they"],
["he or she", "they"],
["he/she", "they"],
// Single word
["change[- ]log(s?)", "changelog$1"],
["code[- ]base(es?)", "codebase$1"],
["e[- ]mail(s?)", "email$1"],
["end[- ]point(s?)", "endpoint$1"],
["file[- ]name(s?)", "filename$1"],
// Multiple words
["front-?end(s?)", "front end$1"],
["open-?source(ed?)", "open source$1"],
["web-?page(s?)", "web page$1"],
// Hyphenated
["end ?to ?end", "end-to-end"],
]
}
},
"filters": {
"comments": {
"enablingComment": "textlint-enable",
"disablingComment": "textlint-disable"
}
}
}