ai-text-check 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE +36 -0
  3. package/README.md +174 -0
  4. package/SOURCES.md +34 -0
  5. package/dist/cli.js +13834 -0
  6. package/dist/index.cjs +13366 -0
  7. package/dist/index.d.cts +36 -0
  8. package/dist/index.d.ts +36 -0
  9. package/dist/index.js +13351 -0
  10. package/dist/node.cjs +13581 -0
  11. package/dist/node.d.cts +41 -0
  12. package/dist/node.d.ts +41 -0
  13. package/dist/node.js +13564 -0
  14. package/dist/types-BlvvRFG5.d.cts +153 -0
  15. package/dist/types-BlvvRFG5.d.ts +153 -0
  16. package/package.json +115 -0
  17. package/slop-gate.config.json +3 -0
  18. package/vale/styles/AiTextCheck/DiveDeep.yml +5 -0
  19. package/vale/styles/AiTextCheck/Furthermore.yml +5 -0
  20. package/vale/styles/AiTextCheck/ImportantToNote.yml +5 -0
  21. package/vale/styles/AiTextCheck/InTodaysWorld.yml +5 -0
  22. package/vale/styles/AiTextCheck/LeverageUtilize.yml +5 -0
  23. package/vale/styles/AiTextCheck/meta.json +3 -0
  24. package/vale/styles/Google/AMPM.yml +9 -0
  25. package/vale/styles/Google/Acronyms.yml +64 -0
  26. package/vale/styles/Google/Colons.yml +8 -0
  27. package/vale/styles/Google/Contractions.yml +30 -0
  28. package/vale/styles/Google/DateFormat.yml +9 -0
  29. package/vale/styles/Google/Ellipses.yml +9 -0
  30. package/vale/styles/Google/EmDash.yml +12 -0
  31. package/vale/styles/Google/Exclamation.yml +12 -0
  32. package/vale/styles/Google/FirstPerson.yml +13 -0
  33. package/vale/styles/Google/Gender.yml +9 -0
  34. package/vale/styles/Google/GenderBias.yml +43 -0
  35. package/vale/styles/Google/HeadingPunctuation.yml +13 -0
  36. package/vale/styles/Google/Headings.yml +29 -0
  37. package/vale/styles/Google/LICENSE +21 -0
  38. package/vale/styles/Google/Latin.yml +11 -0
  39. package/vale/styles/Google/LyHyphens.yml +14 -0
  40. package/vale/styles/Google/OptionalPlurals.yml +12 -0
  41. package/vale/styles/Google/Ordinal.yml +7 -0
  42. package/vale/styles/Google/OxfordComma.yml +7 -0
  43. package/vale/styles/Google/Parens.yml +7 -0
  44. package/vale/styles/Google/Passive.yml +184 -0
  45. package/vale/styles/Google/Periods.yml +7 -0
  46. package/vale/styles/Google/Quotes.yml +7 -0
  47. package/vale/styles/Google/Ranges.yml +7 -0
  48. package/vale/styles/Google/Semicolons.yml +8 -0
  49. package/vale/styles/Google/Slang.yml +11 -0
  50. package/vale/styles/Google/Spacing.yml +10 -0
  51. package/vale/styles/Google/Spelling.yml +10 -0
  52. package/vale/styles/Google/Units.yml +8 -0
  53. package/vale/styles/Google/We.yml +11 -0
  54. package/vale/styles/Google/Will.yml +7 -0
  55. package/vale/styles/Google/WordList.yml +80 -0
  56. package/vale/styles/Google/meta.json +4 -0
  57. package/vale/styles/Google/vocab.txt +0 -0
  58. package/vale/styles/ai-tells/AIAdjectiveNounPairs.yml +8 -0
  59. package/vale/styles/ai-tells/AICompoundPhrases.yml +139 -0
  60. package/vale/styles/ai-tells/AbsoluteAssertions.yml +21 -0
  61. package/vale/styles/ai-tells/AffirmativeFormulas.yml +101 -0
  62. package/vale/styles/ai-tells/AnnouncementHeadings.yml +16 -0
  63. package/vale/styles/ai-tells/AnthropomorphicJustification.yml +115 -0
  64. package/vale/styles/ai-tells/ClosingPleasantries.yml +120 -0
  65. package/vale/styles/ai-tells/ColloquialAssessments.yml +47 -0
  66. package/vale/styles/ai-tells/ColonUsage.yml +18 -0
  67. package/vale/styles/ai-tells/ConclusionMarkers.yml +23 -0
  68. package/vale/styles/ai-tells/ContrastiveFormulas.yml +188 -0
  69. package/vale/styles/ai-tells/ContrastiveNegation.yml +22 -0
  70. package/vale/styles/ai-tells/DefensiveHedges.yml +63 -0
  71. package/vale/styles/ai-tells/DespiteChallenges.yml +32 -0
  72. package/vale/styles/ai-tells/EmDashUsage.yml +9 -0
  73. package/vale/styles/ai-tells/EmphaticCopula.yml +30 -0
  74. package/vale/styles/ai-tells/EmptyPadding.yml +10 -0
  75. package/vale/styles/ai-tells/EmptyPaddingStacked.yml +11 -0
  76. package/vale/styles/ai-tells/ExplainerHeadings.yml +20 -0
  77. package/vale/styles/ai-tells/FalseBalance.yml +31 -0
  78. package/vale/styles/ai-tells/FalseExclusivity.yml +41 -0
  79. package/vale/styles/ai-tells/FigurativeLands.yml +79 -0
  80. package/vale/styles/ai-tells/FillerPhrases.yml +78 -0
  81. package/vale/styles/ai-tells/FormalRegister.yml +58 -0
  82. package/vale/styles/ai-tells/FormalTransitions.yml +74 -0
  83. package/vale/styles/ai-tells/GrowthMetaphors.yml +28 -0
  84. package/vale/styles/ai-tells/HedgingPhrases.yml +85 -0
  85. package/vale/styles/ai-tells/LICENSE +21 -0
  86. package/vale/styles/ai-tells/ListIntroductions.yml +22 -0
  87. package/vale/styles/ai-tells/MarketingHeadings.yml +19 -0
  88. package/vale/styles/ai-tells/Metacommentary.yml +113 -0
  89. package/vale/styles/ai-tells/MicDrop.yml +205 -0
  90. package/vale/styles/ai-tells/MicDropHeadings.yml +20 -0
  91. package/vale/styles/ai-tells/NarrativePivots.yml +59 -0
  92. package/vale/styles/ai-tells/OpeningCliches.yml +98 -0
  93. package/vale/styles/ai-tells/OrganicConsequence.yml +38 -0
  94. package/vale/styles/ai-tells/OverusedVocabulary.yml +185 -0
  95. package/vale/styles/ai-tells/OverusedVocabularyVerbs.yml +7 -0
  96. package/vale/styles/ai-tells/ParallelStaccato.yml +34 -0
  97. package/vale/styles/ai-tells/ParticipialPadding.yml +74 -0
  98. package/vale/styles/ai-tells/PromotionalPuffery.yml +63 -0
  99. package/vale/styles/ai-tells/RedundantPrecaution.yml +8 -0
  100. package/vale/styles/ai-tells/ResonateOveruse.yml +13 -0
  101. package/vale/styles/ai-tells/RestatementMarkers.yml +36 -0
  102. package/vale/styles/ai-tells/RhetoricalDevices.yml +53 -0
  103. package/vale/styles/ai-tells/RhetoricalSelfAnswer.yml +51 -0
  104. package/vale/styles/ai-tells/SelfReference.yml +52 -0
  105. package/vale/styles/ai-tells/SemicolonUsage.yml +31 -0
  106. package/vale/styles/ai-tells/SequencingMarkers.yml +41 -0
  107. package/vale/styles/ai-tells/ServesAsDodge.yml +66 -0
  108. package/vale/styles/ai-tells/ShipOveruse.yml +16 -0
  109. package/vale/styles/ai-tells/StackedAnaphora.yml +185 -0
  110. package/vale/styles/ai-tells/StrategyBuzzwords.yml +32 -0
  111. package/vale/styles/ai-tells/StructureAnnouncements.yml +22 -0
  112. package/vale/styles/ai-tells/SycophancyMarkers.yml +26 -0
  113. package/vale/styles/ai-tells/UnpackExplore.yml +21 -0
  114. package/vale/styles/ai-tells/UrgencyInflation.yml +70 -0
  115. package/vale/styles/ai-tells/VagueAttributions.yml +67 -0
  116. package/vale/styles/ai-tells/VerbTricolon.yml +78 -0
  117. package/vale/styles/ai-tells/VerbTricolonDensity.yml +7 -0
  118. package/vale/styles/ai-tells/WrapUpHeadings.yml +22 -0
  119. package/vale/styles/signs-of-ai-writing/AspectOveruse.yml +13 -0
  120. package/vale/styles/signs-of-ai-writing/ChatGPTArtifacts.yml +12 -0
  121. package/vale/styles/signs-of-ai-writing/ChatbotCommunication.yml +21 -0
  122. package/vale/styles/signs-of-ai-writing/CitationArtifacts.yml +10 -0
  123. package/vale/styles/signs-of-ai-writing/ColonOveruse.yml +11 -0
  124. package/vale/styles/signs-of-ai-writing/Enumeration.yml +11 -0
  125. package/vale/styles/signs-of-ai-writing/Hedging.yml +6 -0
  126. package/vale/styles/signs-of-ai-writing/Intensifiers.yml +17 -0
  127. package/vale/styles/signs-of-ai-writing/KnowledgeCutoff.yml +14 -0
  128. package/vale/styles/signs-of-ai-writing/LICENSE +12 -0
  129. package/vale/styles/signs-of-ai-writing/Lists.yml +8 -0
  130. package/vale/styles/signs-of-ai-writing/Narrative.yml +15 -0
  131. package/vale/styles/signs-of-ai-writing/Passive.yml +16 -0
  132. package/vale/styles/signs-of-ai-writing/Placeholders.yml +17 -0
  133. package/vale/styles/signs-of-ai-writing/ScareQuotes.yml +6 -0
  134. package/vale/styles/signs-of-ai-writing/Symbolism.yml +23 -0
  135. package/vale/styles/signs-of-ai-writing/Transitions.yml +17 -0
  136. package/vale/styles/signs-of-ai-writing/UTMParameters.yml +10 -0
  137. package/vale/styles/signs-of-ai-writing/Vocabulary.yml +27 -0
  138. package/vale/styles/signs-of-ai-writing/meta.json +4 -0
  139. package/vale/styles/write-good/Cliches.yml +702 -0
  140. package/vale/styles/write-good/E-Prime.yml +32 -0
  141. package/vale/styles/write-good/Illusions.yml +11 -0
  142. package/vale/styles/write-good/LICENSE +21 -0
  143. package/vale/styles/write-good/Passive.yml +183 -0
  144. package/vale/styles/write-good/README.md +27 -0
  145. package/vale/styles/write-good/So.yml +5 -0
  146. package/vale/styles/write-good/ThereIs.yml +6 -0
  147. package/vale/styles/write-good/TooWordy.yml +221 -0
  148. package/vale/styles/write-good/Weasel.yml +29 -0
  149. package/vale/styles/write-good/meta.json +4 -0
  150. package/vale/vale.ini +38 -0
@@ -0,0 +1,43 @@
1
+ extends: substitution
2
+ message: "Consider using '%s' instead of '%s'."
3
+ ignorecase: true
4
+ link: "https://developers.google.com/style/inclusive-documentation"
5
+ level: error
6
+ action:
7
+ name: replace
8
+ swap:
9
+ (?:alumna|alumnus): graduate
10
+ (?:alumnae|alumni): graduates
11
+ air(?:m[ae]n|wom[ae]n): pilot(s)
12
+ anchor(?:m[ae]n|wom[ae]n): anchor(s)
13
+ authoress: author
14
+ camera(?:m[ae]n|wom[ae]n): camera operator(s)
15
+ door(?:m[ae]|wom[ae]n): concierge(s)
16
+ draft(?:m[ae]n|wom[ae]n): drafter(s)
17
+ fire(?:m[ae]n|wom[ae]n): firefighter(s)
18
+ fisher(?:m[ae]n|wom[ae]n): fisher(s)
19
+ fresh(?:m[ae]n|wom[ae]n): first-year student(s)
20
+ garbage(?:m[ae]n|wom[ae]n): waste collector(s)
21
+ lady lawyer: lawyer
22
+ ladylike: courteous
23
+ mail(?:m[ae]n|wom[ae]n): mail carriers
24
+ man and wife: husband and wife
25
+ man enough: strong enough
26
+ mankind: human kind|humanity
27
+ manmade: manufactured
28
+ manpower: personnel
29
+ middle(?:m[ae]n|wom[ae]n): intermediary
30
+ news(?:m[ae]n|wom[ae]n): journalist(s)
31
+ ombuds(?:man|woman): ombuds
32
+ oneupmanship: upstaging
33
+ poetess: poet
34
+ police(?:m[ae]n|wom[ae]n): police officer(s)
35
+ repair(?:m[ae]n|wom[ae]n): technician(s)
36
+ sales(?:m[ae]n|wom[ae]n): salesperson or sales people
37
+ service(?:m[ae]n|wom[ae]n): soldier(s)
38
+ steward(?:ess)?: flight attendant
39
+ tribes(?:m[ae]n|wom[ae]n): tribe member(s)
40
+ waitress: waiter
41
+ woman doctor: doctor
42
+ woman scientist[s]?: scientist(s)
43
+ work(?:m[ae]n|wom[ae]n): worker(s)
@@ -0,0 +1,13 @@
1
+ extends: existence
2
+ message: "Don't put a period at the end of a heading."
3
+ link: "https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings"
4
+ nonword: true
5
+ level: warning
6
+ scope: heading
7
+ action:
8
+ name: edit
9
+ params:
10
+ - trim_right
11
+ - "."
12
+ tokens:
13
+ - '[a-z0-9][.]\s*$'
@@ -0,0 +1,29 @@
1
+ extends: capitalization
2
+ message: "'%s' should use sentence-style capitalization."
3
+ link: "https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings"
4
+ level: warning
5
+ scope: heading
6
+ match: $sentence
7
+ indicators:
8
+ - ":"
9
+ exceptions:
10
+ - Azure
11
+ - CLI
12
+ - Cosmos
13
+ - Docker
14
+ - Emmet
15
+ - gRPC
16
+ - I
17
+ - Kubernetes
18
+ - Linux
19
+ - macOS
20
+ - Marketplace
21
+ - MongoDB
22
+ - REPL
23
+ - Studio
24
+ - TypeScript
25
+ - URLs
26
+ - Visual
27
+ - VS
28
+ - Windows
29
+ - JSON
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 - 2019 Joseph Kato
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,11 @@
1
+ extends: substitution
2
+ message: "Use '%s' instead of '%s'."
3
+ link: "https://developers.google.com/style/abbreviations"
4
+ ignorecase: true
5
+ level: error
6
+ nonword: true
7
+ action:
8
+ name: replace
9
+ swap:
10
+ '\b(?:eg|e\.g\.)(?=[\s,;])': for example
11
+ '\b(?:ie|i\.e\.)(?=[\s,;])': that is
@@ -0,0 +1,14 @@
1
+ extends: existence
2
+ message: "'%s' doesn't need a hyphen."
3
+ link: "https://developers.google.com/style/hyphens"
4
+ level: error
5
+ ignorecase: false
6
+ nonword: true
7
+ action:
8
+ name: edit
9
+ params:
10
+ - regex
11
+ - "-"
12
+ - " "
13
+ tokens:
14
+ - '\b[^\s-]+ly-\w+\b'
@@ -0,0 +1,12 @@
1
+ extends: existence
2
+ message: "Don't use plurals in parentheses such as in '%s'."
3
+ link: "https://developers.google.com/style/plurals-parentheses"
4
+ level: error
5
+ nonword: true
6
+ action:
7
+ name: edit
8
+ params:
9
+ - trim_right
10
+ - "(s)"
11
+ tokens:
12
+ - '\b\w+\(s\)'
@@ -0,0 +1,7 @@
1
+ extends: existence
2
+ message: "Spell out all ordinal numbers ('%s') in text."
3
+ link: "https://developers.google.com/style/numbers"
4
+ level: error
5
+ nonword: true
6
+ tokens:
7
+ - \d+(?:st|nd|rd|th)
@@ -0,0 +1,7 @@
1
+ extends: existence
2
+ message: "Use the Oxford comma in '%s'."
3
+ link: "https://developers.google.com/style/commas"
4
+ scope: sentence
5
+ level: warning
6
+ tokens:
7
+ - '(?:[^,]+,){1,}\s\w+\s(?:and|or)'
@@ -0,0 +1,7 @@
1
+ extends: existence
2
+ message: "Use parentheses judiciously."
3
+ link: "https://developers.google.com/style/parentheses"
4
+ nonword: true
5
+ level: suggestion
6
+ tokens:
7
+ - '\(.+\)'
@@ -0,0 +1,184 @@
1
+ extends: existence
2
+ link: "https://developers.google.com/style/voice"
3
+ message: "In general, use active voice instead of passive voice ('%s')."
4
+ ignorecase: true
5
+ level: suggestion
6
+ raw:
7
+ - \b(am|are|were|being|is|been|was|be)\b\s*
8
+ tokens:
9
+ - '[\w]+ed'
10
+ - awoken
11
+ - beat
12
+ - become
13
+ - been
14
+ - begun
15
+ - bent
16
+ - beset
17
+ - bet
18
+ - bid
19
+ - bidden
20
+ - bitten
21
+ - bled
22
+ - blown
23
+ - born
24
+ - bought
25
+ - bound
26
+ - bred
27
+ - broadcast
28
+ - broken
29
+ - brought
30
+ - built
31
+ - burnt
32
+ - burst
33
+ - cast
34
+ - caught
35
+ - chosen
36
+ - clung
37
+ - come
38
+ - cost
39
+ - crept
40
+ - cut
41
+ - dealt
42
+ - dived
43
+ - done
44
+ - drawn
45
+ - dreamt
46
+ - driven
47
+ - drunk
48
+ - dug
49
+ - eaten
50
+ - fallen
51
+ - fed
52
+ - felt
53
+ - fit
54
+ - fled
55
+ - flown
56
+ - flung
57
+ - forbidden
58
+ - foregone
59
+ - forgiven
60
+ - forgotten
61
+ - forsaken
62
+ - fought
63
+ - found
64
+ - frozen
65
+ - given
66
+ - gone
67
+ - gotten
68
+ - ground
69
+ - grown
70
+ - heard
71
+ - held
72
+ - hidden
73
+ - hit
74
+ - hung
75
+ - hurt
76
+ - kept
77
+ - knelt
78
+ - knit
79
+ - known
80
+ - laid
81
+ - lain
82
+ - leapt
83
+ - learnt
84
+ - led
85
+ - left
86
+ - lent
87
+ - let
88
+ - lighted
89
+ - lost
90
+ - made
91
+ - meant
92
+ - met
93
+ - misspelt
94
+ - mistaken
95
+ - mown
96
+ - overcome
97
+ - overdone
98
+ - overtaken
99
+ - overthrown
100
+ - paid
101
+ - pled
102
+ - proven
103
+ - put
104
+ - quit
105
+ - read
106
+ - rid
107
+ - ridden
108
+ - risen
109
+ - run
110
+ - rung
111
+ - said
112
+ - sat
113
+ - sawn
114
+ - seen
115
+ - sent
116
+ - set
117
+ - sewn
118
+ - shaken
119
+ - shaven
120
+ - shed
121
+ - shod
122
+ - shone
123
+ - shorn
124
+ - shot
125
+ - shown
126
+ - shrunk
127
+ - shut
128
+ - slain
129
+ - slept
130
+ - slid
131
+ - slit
132
+ - slung
133
+ - smitten
134
+ - sold
135
+ - sought
136
+ - sown
137
+ - sped
138
+ - spent
139
+ - spilt
140
+ - spit
141
+ - split
142
+ - spoken
143
+ - spread
144
+ - sprung
145
+ - spun
146
+ - stolen
147
+ - stood
148
+ - stridden
149
+ - striven
150
+ - struck
151
+ - strung
152
+ - stuck
153
+ - stung
154
+ - stunk
155
+ - sung
156
+ - sunk
157
+ - swept
158
+ - swollen
159
+ - sworn
160
+ - swum
161
+ - swung
162
+ - taken
163
+ - taught
164
+ - thought
165
+ - thrived
166
+ - thrown
167
+ - thrust
168
+ - told
169
+ - torn
170
+ - trodden
171
+ - understood
172
+ - upheld
173
+ - upset
174
+ - wed
175
+ - wept
176
+ - withheld
177
+ - withstood
178
+ - woken
179
+ - won
180
+ - worn
181
+ - wound
182
+ - woven
183
+ - written
184
+ - wrung
@@ -0,0 +1,7 @@
1
+ extends: existence
2
+ message: "Don't use periods with acronyms or initialisms such as '%s'."
3
+ link: "https://developers.google.com/style/abbreviations"
4
+ level: error
5
+ nonword: true
6
+ tokens:
7
+ - '\b(?:[A-Z]\.){3,}'
@@ -0,0 +1,7 @@
1
+ extends: existence
2
+ message: "Commas and periods go inside quotation marks."
3
+ link: "https://developers.google.com/style/quotation-marks"
4
+ level: error
5
+ nonword: true
6
+ tokens:
7
+ - '"[^"]+"[.,?]'
@@ -0,0 +1,7 @@
1
+ extends: existence
2
+ message: "Don't add words such as 'from' or 'between' to describe a range of numbers."
3
+ link: "https://developers.google.com/style/hyphens"
4
+ nonword: true
5
+ level: warning
6
+ tokens:
7
+ - '(?:from|between)\s\d+\s?-\s?\d+'
@@ -0,0 +1,8 @@
1
+ extends: existence
2
+ message: "Use semicolons judiciously."
3
+ link: "https://developers.google.com/style/semicolons"
4
+ nonword: true
5
+ scope: sentence
6
+ level: suggestion
7
+ tokens:
8
+ - ";"
@@ -0,0 +1,11 @@
1
+ extends: existence
2
+ message: "Don't use internet slang abbreviations such as '%s'."
3
+ link: "https://developers.google.com/style/abbreviations"
4
+ ignorecase: true
5
+ level: error
6
+ tokens:
7
+ - "tl;dr"
8
+ - ymmv
9
+ - rtfm
10
+ - imo
11
+ - fwiw
@@ -0,0 +1,10 @@
1
+ extends: existence
2
+ message: "'%s' should have one space."
3
+ link: "https://developers.google.com/style/sentence-spacing"
4
+ level: error
5
+ nonword: true
6
+ action:
7
+ name: remove
8
+ tokens:
9
+ - "[a-z][.?!] {2,}[A-Z]"
10
+ - "[a-z][.?!][A-Z]"
@@ -0,0 +1,10 @@
1
+ extends: existence
2
+ message: "In general, use American spelling instead of '%s'."
3
+ link: "https://developers.google.com/style/spelling"
4
+ ignorecase: true
5
+ level: warning
6
+ tokens:
7
+ - '(?:\w+)nised?'
8
+ - "colour"
9
+ - "labour"
10
+ - "centre"
@@ -0,0 +1,8 @@
1
+ extends: existence
2
+ message: "Put a nonbreaking space between the number and the unit in '%s'."
3
+ link: "https://developers.google.com/style/units-of-measure"
4
+ nonword: true
5
+ level: error
6
+ tokens:
7
+ - \b\d+(?:B|kB|MB|GB|TB)
8
+ - \b\d+(?:ns|ms|s|min|h|d)
@@ -0,0 +1,11 @@
1
+ extends: existence
2
+ message: "Try to avoid using first-person plural like '%s'."
3
+ link: "https://developers.google.com/style/pronouns#personal-pronouns"
4
+ level: warning
5
+ ignorecase: true
6
+ tokens:
7
+ - we
8
+ - we'(?:ve|re)
9
+ - ours?
10
+ - us
11
+ - let's
@@ -0,0 +1,7 @@
1
+ extends: existence
2
+ message: "Avoid using '%s'."
3
+ link: "https://developers.google.com/style/tense"
4
+ ignorecase: true
5
+ level: warning
6
+ tokens:
7
+ - will
@@ -0,0 +1,80 @@
1
+ extends: substitution
2
+ message: "Use '%s' instead of '%s'."
3
+ link: "https://developers.google.com/style/word-list"
4
+ level: warning
5
+ ignorecase: false
6
+ action:
7
+ name: replace
8
+ swap:
9
+ "(?:API Console|dev|developer) key": API key
10
+ "(?:cell ?phone|smart ?phone)": phone|mobile phone
11
+ "(?:dev|developer|APIs) console": API console
12
+ "(?:e-mail|Email|E-mail)": email
13
+ "(?:file ?path|path ?name)": path
14
+ "(?:kill|terminate|abort)": stop|exit|cancel|end
15
+ "(?:OAuth ?2|Oauth)": OAuth 2.0
16
+ "(?:ok|Okay)": OK|okay
17
+ "(?:WiFi|wifi)": Wi-Fi
18
+ '[\.]+apk': APK
19
+ '3\-D': 3D
20
+ 'Google (?:I\-O|IO)': Google I/O
21
+ "tap (?:&|and) hold": touch & hold
22
+ "un(?:check|select)": clear
23
+ above: preceding
24
+ account name: username
25
+ action bar: app bar
26
+ admin: administrator
27
+ Ajax: AJAX
28
+ a\.k\.a|aka: or|also known as
29
+ Android device: Android-powered device
30
+ android: Android
31
+ API explorer: APIs Explorer
32
+ application: app
33
+ approx\.: approximately
34
+ authN: authentication
35
+ authZ: authorization
36
+ autoupdate: automatically update
37
+ cellular data: mobile data
38
+ cellular network: mobile network
39
+ chapter: documents|pages|sections
40
+ check box: checkbox
41
+ CLI: command-line tool
42
+ click on: click|click in
43
+ Cloud: Google Cloud Platform|GCP
44
+ Container Engine: Kubernetes Engine
45
+ content type: media type
46
+ curated roles: predefined roles
47
+ data are: data is
48
+ Developers Console: Google API Console|API Console
49
+ disabled?: turn off|off
50
+ ephemeral IP address: ephemeral external IP address
51
+ fewer data: less data
52
+ file name: filename
53
+ firewalls: firewall rules
54
+ functionality: capability|feature
55
+ Google account: Google Account
56
+ Google accounts: Google Accounts
57
+ Googling: search with Google
58
+ grayed-out: unavailable
59
+ HTTPs: HTTPS
60
+ in order to: to
61
+ ingest: import|load
62
+ k8s: Kubernetes
63
+ long press: touch & hold
64
+ network IP address: internal IP address
65
+ omnibox: address bar
66
+ open-source: open source
67
+ overview screen: recents screen
68
+ regex: regular expression
69
+ SHA1: SHA-1|HAS-SHA1
70
+ sign into: sign in to
71
+ sign-?on: single sign-on
72
+ static IP address: static external IP address
73
+ stylesheet: style sheet
74
+ synch: sync
75
+ tablename: table name
76
+ tablet: device
77
+ touch: tap
78
+ url: URL
79
+ vs\.: versus
80
+ World Wide Web: web
@@ -0,0 +1,4 @@
1
+ {
2
+ "feed": "https://github.com/errata-ai/Google/releases.atom",
3
+ "vale_version": ">=1.0.0"
4
+ }
File without changes
@@ -0,0 +1,8 @@
1
+ ---
2
+ extends: sequence
3
+ message: "AI adjective-noun pair: '%s %s'. Use concrete description instead."
4
+ level: warning
5
+ tokens:
6
+ - pattern: multifaceted|intricate|holistic|transformative|groundbreaking|unparalleled|unprecedented|seamless|pivotal|innovative|sophisticated|comprehensive
7
+ tag: JJ
8
+ - tag: NN|NNS