-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.textlintrc
143 lines (134 loc) · 3.67 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"rules": {
"eslint": {
"configFile": ".eslintrc-textlint",
"ignoreParsingErrors": true
},
"terminology": {
"defaultTerms": false,
"terms": [
// Cypress product
["^Cypress\.io", "Cypress"],
["Cypress' ", "Cypress's "],
["Cypress cloud", "Cypress Cloud"],
// Brands and Technologies
["ansi", "ANSI"],
"AppVeyor",
"Babel",
["^Blob(?! %)", "Blob"],
"Browserify",
"BrowserStack",
["^chai", "Chai"],
["^chai-jquery", "chai-jquery"],
["cross-browser", "cross browser"],
["cross origin", "cross-origin"],
["e-mail", "email"],
"ESLint",
["Express.js", "Express"],
"FFmpeg",
"GitHub",
"GraphQL",
["Hapi.js", "hapi"],
["iframe(s?)", "iframe$1"],
"iOS",
"Istanbul",
"JavaScript",
"Jest",
"jQuery",
"JSDoc",
["local[ ]?storage", "localStorage"],
"Lodash",
"minimatch",
"Mocha",
"node module",
"npm",
"online",
["React[ .]js", "React"],
"RegExp",
["SauceLabs", "Sauce Labs"],
["session[ ]?storage", "sessionStorage"],
"Single sign-on",
["^Sinon", "Sinon.JS"],
"Sinon–Chai",
"TypeScript",
"YouTube",
["VSCode", "VS Code"],
["^Vue", "Vue.JS"],
"WebKit",
"webpack",
["WebSocket(s?)", "WebSocket$1"],
"WiFi",
// Abbreviations
"API",
["API['’]?s", "APIs"],
"Ajax",
"CLI",
"CSS",
"CORS",
["^E2E", "E2E"],
["^gif", "GIF"],
["^HTML", "HTML"],
["^jpg", "JPG"],
["^URL(s?)", "URL$1"],
["^HTTP", "HTTP"],
["^HTTPS", "HTTPS"],
["^pdf", "PDF"],
"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"],
["blacklist", "block"],
["whitelist", "allow"],
// Prefer American spelling
["behaviour", "behavior"],
["cancelled", "canceled"],
["cancelling", "canceling"],
["centre", "center"],
["colour", "color"],
["customise", "customize"],
["customisation", "customization"],
["favourite", "favorite"],
["labelled", "labeled"],
["licence", "license"],
["organise", "organize"],
// Common misspellings
["gaurantee", "guarantee"],
// 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
["back-?end(s?)", "back end$1"],
["front-?end(s?)", "front end$1"],
["full-?stack(s?)", "full stack$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"
}
}
}