forked from cypress-io/cypress-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.textlintrc
109 lines (102 loc) · 2.81 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"rules": {
"eslint": {
"configFile": ".eslintrc-textlint",
"ignoreParsingErrors": true
},
"terminology": {
"defaultTerms": false,
"terms": [
// Cypress product
["[^.]Cypress\.io", "Cypress"],
["Cypress' ", "Cypress's "],
["the command log", "the Command Log"],
["dashboard service", "Dashboard Service"],
["test runner", "Test Runner"],
// Brands and Technologies
"AppVeyor",
"Babel",
["^Blob(?! %)", "Blob"],
"Browserify",
"BrowserStack",
["^chai", "Chai"],
["^chai-jquery", "chai-jquery"],
["cross origin", "cross-origin"],
["(Chrome ?)DevTools", "Developer Tools"],
["(?!^Chrome $)DevTools", "Developer Tools"],
"ESLint",
"GitHub",
"GraphQL",
["iframe(s?)", "iframe$1"],
"iOS",
"JavaScript",
"jQuery",
["local[ ]?storage", "localStorage"],
"Lodash",
"minimatch",
"Mocha",
"npm",
["React[ .]js", "React"],
"RegExp",
["SauceLabs", "Sauce Labs"],
["session[ ]?storage", "sessionStorage"],
"Single sign-on",
["^Sinon", "Sinon.JS"],
"Sinon–Chai",
"TypeScript",
"YouTube",
"webpack",
["WebSocket(s?)", "WebSocket$1"],
// Abbreviations
"API",
["API['’]?s", "APIs"],
"Ajax",
"CLI",
"CSS",
"CORS",
"gif",
["^HTML", "HTML"],
["^URL(s?)", "URL$1"],
["^HTTP", "HTTP"],
["^HTTPS", "HTTPS"],
"SSO",
["^XHR(s?)", "XHR$1"],
["^XHR['’]?s", "XHRs"],
"Xvfb",
"YAML",
// Words and phrases
["\\(s\\)he", "they"],
["he or she", "they"],
["he/she", "they"],
["crazy", "complex"],
["crazier", "more complex"],
["craziest", "most complex"],
["dumb", "unintended"],
["insane", "outrageous"],
// Words we would like to not use altogether
["simply", ""],
// 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"],
["can[- ]not", "cannot$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"],
["retryability", "retry-ability"],
["retriability", "retry-ability"],
]
}
},
"filters": {
"comments": {
"enablingComment": "textlint-enable",
"disablingComment": "textlint-disable"
}
}
}