@plone/volto 16.23.0 → 16.25.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.
- package/.changelog.draft +8 -9
- package/.yarn/install-state.gz +0 -0
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
- package/.yarn/releases/yarn-3.6.3.cjs +874 -0
- package/CHANGELOG.md +35 -0
- package/cypress.config.js +17 -0
- package/locales/ca/LC_MESSAGES/volto.po +31 -5
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +31 -5
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +30 -4
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +31 -5
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +30 -4
- package/locales/eu.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +30 -4
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +31 -5
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +30 -4
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +30 -4
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +31 -5
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +31 -5
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +30 -4
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +31 -5
- package/locales/ro.json +1 -1
- package/locales/volto.pot +30 -4
- package/locales/zh_CN/LC_MESSAGES/volto.po +31 -5
- package/locales/zh_CN.json +1 -1
- package/package.json +2 -2
- package/packages/volto-slate/package.json +1 -1
- package/packages/volto-slate/src/editor/plugins/Link/render.jsx +5 -6
- package/src/components/manage/Blocks/Listing/ListingData.jsx +3 -3
- package/src/components/manage/Blocks/Listing/ListingData.test.jsx +2 -0
- package/src/components/manage/Blocks/Listing/withQuerystringResults.jsx +1 -1
- package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +42 -25
- package/src/components/manage/Blocks/ToC/View.jsx +1 -0
- package/src/components/manage/Controlpanels/Groups/GroupsControlpanel.jsx +65 -38
- package/src/components/manage/Controlpanels/Users/RenderUsers.jsx +95 -5
- package/src/components/manage/Controlpanels/Users/UsersControlpanel.jsx +116 -103
- package/src/components/manage/Sharing/Sharing.jsx +39 -16
- package/src/components/manage/Widgets/QueryWidget.jsx +6 -2
- package/src/helpers/MessageLabels/MessageLabels.js +26 -4
- package/src/reducers/navigation/navigation.js +5 -5
- package/src/reducers/navigation/navigation.test.js +30 -0
- package/styles/Microsoft/AMPM.yml +9 -0
- package/styles/Microsoft/Accessibility.yml +25 -0
- package/styles/Microsoft/Acronyms.yml +64 -0
- package/styles/Microsoft/Adverbs.yml +270 -0
- package/styles/Microsoft/Auto.yml +11 -0
- package/styles/Microsoft/Avoid.yml +14 -0
- package/styles/Microsoft/ComplexWords.yml +120 -0
- package/styles/Microsoft/Contractions.yml +50 -0
- package/styles/Microsoft/Dashes.yml +13 -0
- package/styles/Microsoft/DateFormat.yml +8 -0
- package/styles/Microsoft/DateNumbers.yml +40 -0
- package/styles/Microsoft/DateOrder.yml +8 -0
- package/styles/Microsoft/Ellipses.yml +9 -0
- package/styles/Microsoft/FirstPerson.yml +16 -0
- package/styles/Microsoft/Foreign.yml +13 -0
- package/styles/Microsoft/Gender.yml +8 -0
- package/styles/Microsoft/GenderBias.yml +44 -0
- package/styles/Microsoft/GeneralURL.yml +11 -0
- package/styles/Microsoft/HeadingAcronyms.yml +7 -0
- package/styles/Microsoft/HeadingColons.yml +8 -0
- package/styles/Microsoft/HeadingPunctuation.yml +13 -0
- package/styles/Microsoft/Headings.yml +28 -0
- package/styles/Microsoft/Hyphens.yml +14 -0
- package/styles/Microsoft/Negative.yml +13 -0
- package/styles/Microsoft/Ordinal.yml +13 -0
- package/styles/Microsoft/OxfordComma.yml +8 -0
- package/styles/Microsoft/Passive.yml +183 -0
- package/styles/Microsoft/Percentages.yml +7 -0
- package/styles/Microsoft/Quotes.yml +7 -0
- package/styles/Microsoft/RangeFormat.yml +13 -0
- package/styles/Microsoft/RangeTime.yml +13 -0
- package/styles/Microsoft/Ranges.yml +7 -0
- package/styles/Microsoft/Semicolon.yml +8 -0
- package/styles/Microsoft/SentenceLength.yml +7 -0
- package/styles/Microsoft/Spacing.yml +8 -0
- package/styles/Microsoft/Suspended.yml +7 -0
- package/styles/Microsoft/Terms.yml +41 -0
- package/styles/Microsoft/URLFormat.yml +10 -0
- package/styles/Microsoft/Units.yml +16 -0
- package/styles/Microsoft/Vocab.yml +25 -0
- package/styles/Microsoft/We.yml +11 -0
- package/styles/Microsoft/Wordiness.yml +122 -0
- package/styles/Microsoft/meta.json +4 -0
- package/theme/themes/pastanaga/elements/input.overrides +5 -1
- package/theme/themes/pastanaga/extras/login.less +2 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: "Don't use language (such as '%s') that defines people by their disability."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/accessibility-terms
|
|
4
|
+
level: suggestion
|
|
5
|
+
ignorecase: true
|
|
6
|
+
tokens:
|
|
7
|
+
- a victim of
|
|
8
|
+
- able-bodied
|
|
9
|
+
- affected by
|
|
10
|
+
- an epileptic
|
|
11
|
+
- crippled
|
|
12
|
+
- disabled
|
|
13
|
+
- dumb
|
|
14
|
+
- handicapped
|
|
15
|
+
- handicaps
|
|
16
|
+
- healthy
|
|
17
|
+
- lame
|
|
18
|
+
- maimed
|
|
19
|
+
- missing a limb
|
|
20
|
+
- mute
|
|
21
|
+
- normal
|
|
22
|
+
- sight-impaired
|
|
23
|
+
- stricken with
|
|
24
|
+
- suffers from
|
|
25
|
+
- vision-impaired
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
extends: conditional
|
|
2
|
+
message: "'%s' has no definition."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/acronyms
|
|
4
|
+
level: suggestion
|
|
5
|
+
ignorecase: false
|
|
6
|
+
# Ensures that the existence of 'first' implies the existence of 'second'.
|
|
7
|
+
first: '\b([A-Z]{3,5})\b'
|
|
8
|
+
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
|
|
9
|
+
# ... with the exception of these:
|
|
10
|
+
exceptions:
|
|
11
|
+
- API
|
|
12
|
+
- ASP
|
|
13
|
+
- CLI
|
|
14
|
+
- CPU
|
|
15
|
+
- CSS
|
|
16
|
+
- CSV
|
|
17
|
+
- DEBUG
|
|
18
|
+
- DOM
|
|
19
|
+
- DPI
|
|
20
|
+
- FAQ
|
|
21
|
+
- GCC
|
|
22
|
+
- GDB
|
|
23
|
+
- GET
|
|
24
|
+
- GPU
|
|
25
|
+
- GTK
|
|
26
|
+
- GUI
|
|
27
|
+
- HTML
|
|
28
|
+
- HTTP
|
|
29
|
+
- HTTPS
|
|
30
|
+
- IDE
|
|
31
|
+
- JAR
|
|
32
|
+
- JSON
|
|
33
|
+
- JSX
|
|
34
|
+
- LESS
|
|
35
|
+
- LLDB
|
|
36
|
+
- NET
|
|
37
|
+
- NOTE
|
|
38
|
+
- NVDA
|
|
39
|
+
- OSS
|
|
40
|
+
- PATH
|
|
41
|
+
- PDF
|
|
42
|
+
- PHP
|
|
43
|
+
- POST
|
|
44
|
+
- RAM
|
|
45
|
+
- REPL
|
|
46
|
+
- RSA
|
|
47
|
+
- SCM
|
|
48
|
+
- SCSS
|
|
49
|
+
- SDK
|
|
50
|
+
- SQL
|
|
51
|
+
- SSH
|
|
52
|
+
- SSL
|
|
53
|
+
- SVG
|
|
54
|
+
- TBD
|
|
55
|
+
- TCP
|
|
56
|
+
- TODO
|
|
57
|
+
- URI
|
|
58
|
+
- URL
|
|
59
|
+
- USB
|
|
60
|
+
- UTF
|
|
61
|
+
- XML
|
|
62
|
+
- XSS
|
|
63
|
+
- YAML
|
|
64
|
+
- ZIP
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: "Consider removing '%s'."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
|
|
4
|
+
ignorecase: true
|
|
5
|
+
level: warning
|
|
6
|
+
action:
|
|
7
|
+
name: remove
|
|
8
|
+
tokens:
|
|
9
|
+
- abnormally
|
|
10
|
+
- absentmindedly
|
|
11
|
+
- accidentally
|
|
12
|
+
- adventurously
|
|
13
|
+
- anxiously
|
|
14
|
+
- arrogantly
|
|
15
|
+
- awkwardly
|
|
16
|
+
- bashfully
|
|
17
|
+
- beautifully
|
|
18
|
+
- bitterly
|
|
19
|
+
- bleakly
|
|
20
|
+
- blindly
|
|
21
|
+
- blissfully
|
|
22
|
+
- boastfully
|
|
23
|
+
- boldly
|
|
24
|
+
- bravely
|
|
25
|
+
- briefly
|
|
26
|
+
- brightly
|
|
27
|
+
- briskly
|
|
28
|
+
- broadly
|
|
29
|
+
- busily
|
|
30
|
+
- calmly
|
|
31
|
+
- carefully
|
|
32
|
+
- carelessly
|
|
33
|
+
- cautiously
|
|
34
|
+
- cheerfully
|
|
35
|
+
- cleverly
|
|
36
|
+
- closely
|
|
37
|
+
- coaxingly
|
|
38
|
+
- colorfully
|
|
39
|
+
- continually
|
|
40
|
+
- coolly
|
|
41
|
+
- courageously
|
|
42
|
+
- crossly
|
|
43
|
+
- cruelly
|
|
44
|
+
- curiously
|
|
45
|
+
- daintily
|
|
46
|
+
- dearly
|
|
47
|
+
- deceivingly
|
|
48
|
+
- deeply
|
|
49
|
+
- defiantly
|
|
50
|
+
- deliberately
|
|
51
|
+
- delightfully
|
|
52
|
+
- diligently
|
|
53
|
+
- dimly
|
|
54
|
+
- doubtfully
|
|
55
|
+
- dreamily
|
|
56
|
+
- easily
|
|
57
|
+
- elegantly
|
|
58
|
+
- energetically
|
|
59
|
+
- enormously
|
|
60
|
+
- enthusiastically
|
|
61
|
+
- excitedly
|
|
62
|
+
- extremely
|
|
63
|
+
- fairly
|
|
64
|
+
- faithfully
|
|
65
|
+
- famously
|
|
66
|
+
- ferociously
|
|
67
|
+
- fervently
|
|
68
|
+
- fiercely
|
|
69
|
+
- fondly
|
|
70
|
+
- foolishly
|
|
71
|
+
- fortunately
|
|
72
|
+
- frankly
|
|
73
|
+
- frantically
|
|
74
|
+
- freely
|
|
75
|
+
- frenetically
|
|
76
|
+
- frightfully
|
|
77
|
+
- furiously
|
|
78
|
+
- generally
|
|
79
|
+
- generously
|
|
80
|
+
- gently
|
|
81
|
+
- gladly
|
|
82
|
+
- gleefully
|
|
83
|
+
- gracefully
|
|
84
|
+
- gratefully
|
|
85
|
+
- greatly
|
|
86
|
+
- greedily
|
|
87
|
+
- happily
|
|
88
|
+
- hastily
|
|
89
|
+
- healthily
|
|
90
|
+
- heavily
|
|
91
|
+
- helplessly
|
|
92
|
+
- honestly
|
|
93
|
+
- hopelessly
|
|
94
|
+
- hungrily
|
|
95
|
+
- innocently
|
|
96
|
+
- inquisitively
|
|
97
|
+
- intensely
|
|
98
|
+
- intently
|
|
99
|
+
- interestingly
|
|
100
|
+
- inwardly
|
|
101
|
+
- irritably
|
|
102
|
+
- jaggedly
|
|
103
|
+
- jealously
|
|
104
|
+
- jovially
|
|
105
|
+
- joyfully
|
|
106
|
+
- joyously
|
|
107
|
+
- jubilantly
|
|
108
|
+
- judgmentally
|
|
109
|
+
- justly
|
|
110
|
+
- keenly
|
|
111
|
+
- kiddingly
|
|
112
|
+
- kindheartedly
|
|
113
|
+
- knavishly
|
|
114
|
+
- knowingly
|
|
115
|
+
- knowledgeably
|
|
116
|
+
- lazily
|
|
117
|
+
- lightly
|
|
118
|
+
- limply
|
|
119
|
+
- lively
|
|
120
|
+
- loftily
|
|
121
|
+
- longingly
|
|
122
|
+
- loosely
|
|
123
|
+
- loudly
|
|
124
|
+
- lovingly
|
|
125
|
+
- loyally
|
|
126
|
+
- madly
|
|
127
|
+
- majestically
|
|
128
|
+
- meaningfully
|
|
129
|
+
- mechanically
|
|
130
|
+
- merrily
|
|
131
|
+
- miserably
|
|
132
|
+
- mockingly
|
|
133
|
+
- mortally
|
|
134
|
+
- mysteriously
|
|
135
|
+
- naturally
|
|
136
|
+
- nearly
|
|
137
|
+
- neatly
|
|
138
|
+
- nervously
|
|
139
|
+
- nicely
|
|
140
|
+
- noisily
|
|
141
|
+
- obediently
|
|
142
|
+
- obnoxiously
|
|
143
|
+
- oddly
|
|
144
|
+
- offensively
|
|
145
|
+
- optimistically
|
|
146
|
+
- overconfidently
|
|
147
|
+
- painfully
|
|
148
|
+
- partially
|
|
149
|
+
- patiently
|
|
150
|
+
- perfectly
|
|
151
|
+
- playfully
|
|
152
|
+
- politely
|
|
153
|
+
- poorly
|
|
154
|
+
- positively
|
|
155
|
+
- potentially
|
|
156
|
+
- powerfully
|
|
157
|
+
- promptly
|
|
158
|
+
- properly
|
|
159
|
+
- punctually
|
|
160
|
+
- quaintly
|
|
161
|
+
- queasily
|
|
162
|
+
- queerly
|
|
163
|
+
- questionably
|
|
164
|
+
- quickly
|
|
165
|
+
- quietly
|
|
166
|
+
- quirkily
|
|
167
|
+
- quizzically
|
|
168
|
+
- randomly
|
|
169
|
+
- rapidly
|
|
170
|
+
- rarely
|
|
171
|
+
- readily
|
|
172
|
+
- really
|
|
173
|
+
- reassuringly
|
|
174
|
+
- recklessly
|
|
175
|
+
- regularly
|
|
176
|
+
- reluctantly
|
|
177
|
+
- repeatedly
|
|
178
|
+
- reproachfully
|
|
179
|
+
- restfully
|
|
180
|
+
- righteously
|
|
181
|
+
- rightfully
|
|
182
|
+
- rigidly
|
|
183
|
+
- roughly
|
|
184
|
+
- rudely
|
|
185
|
+
- safely
|
|
186
|
+
- scarcely
|
|
187
|
+
- scarily
|
|
188
|
+
- searchingly
|
|
189
|
+
- sedately
|
|
190
|
+
- seemingly
|
|
191
|
+
- selfishly
|
|
192
|
+
- separately
|
|
193
|
+
- seriously
|
|
194
|
+
- shakily
|
|
195
|
+
- sharply
|
|
196
|
+
- sheepishly
|
|
197
|
+
- shrilly
|
|
198
|
+
- shyly
|
|
199
|
+
- silently
|
|
200
|
+
- sleepily
|
|
201
|
+
- slowly
|
|
202
|
+
- smoothly
|
|
203
|
+
- softly
|
|
204
|
+
- solemnly
|
|
205
|
+
- solidly
|
|
206
|
+
- speedily
|
|
207
|
+
- stealthily
|
|
208
|
+
- sternly
|
|
209
|
+
- strictly
|
|
210
|
+
- suddenly
|
|
211
|
+
- supposedly
|
|
212
|
+
- surprisingly
|
|
213
|
+
- suspiciously
|
|
214
|
+
- sweetly
|
|
215
|
+
- swiftly
|
|
216
|
+
- sympathetically
|
|
217
|
+
- tenderly
|
|
218
|
+
- tensely
|
|
219
|
+
- terribly
|
|
220
|
+
- thankfully
|
|
221
|
+
- thoroughly
|
|
222
|
+
- thoughtfully
|
|
223
|
+
- tightly
|
|
224
|
+
- tremendously
|
|
225
|
+
- triumphantly
|
|
226
|
+
- truthfully
|
|
227
|
+
- ultimately
|
|
228
|
+
- unabashedly
|
|
229
|
+
- unaccountably
|
|
230
|
+
- unbearably
|
|
231
|
+
- unethically
|
|
232
|
+
- unexpectedly
|
|
233
|
+
- unfortunately
|
|
234
|
+
- unimpressively
|
|
235
|
+
- unnaturally
|
|
236
|
+
- unnecessarily
|
|
237
|
+
- urgently
|
|
238
|
+
- usefully
|
|
239
|
+
- uselessly
|
|
240
|
+
- utterly
|
|
241
|
+
- vacantly
|
|
242
|
+
- vaguely
|
|
243
|
+
- vainly
|
|
244
|
+
- valiantly
|
|
245
|
+
- vastly
|
|
246
|
+
- verbally
|
|
247
|
+
- very
|
|
248
|
+
- viciously
|
|
249
|
+
- victoriously
|
|
250
|
+
- violently
|
|
251
|
+
- vivaciously
|
|
252
|
+
- voluntarily
|
|
253
|
+
- warmly
|
|
254
|
+
- weakly
|
|
255
|
+
- wearily
|
|
256
|
+
- wetly
|
|
257
|
+
- wholly
|
|
258
|
+
- wildly
|
|
259
|
+
- willfully
|
|
260
|
+
- wisely
|
|
261
|
+
- woefully
|
|
262
|
+
- wonderfully
|
|
263
|
+
- worriedly
|
|
264
|
+
- yawningly
|
|
265
|
+
- yearningly
|
|
266
|
+
- yieldingly
|
|
267
|
+
- youthfully
|
|
268
|
+
- zealously
|
|
269
|
+
- zestfully
|
|
270
|
+
- zestily
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: "In general, don't hyphenate '%s'."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/auto
|
|
4
|
+
ignorecase: true
|
|
5
|
+
level: error
|
|
6
|
+
action:
|
|
7
|
+
name: convert
|
|
8
|
+
params:
|
|
9
|
+
- simple
|
|
10
|
+
tokens:
|
|
11
|
+
- 'auto-\w+'
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: "Don't use '%s'. See the A-Z word list for details."
|
|
3
|
+
# See the A-Z word list
|
|
4
|
+
link: https://docs.microsoft.com/en-us/style-guide
|
|
5
|
+
ignorecase: true
|
|
6
|
+
level: error
|
|
7
|
+
tokens:
|
|
8
|
+
- abortion
|
|
9
|
+
- and so on
|
|
10
|
+
- app(?:lication)?s? (?:developer|program)
|
|
11
|
+
- app(?:lication)? file
|
|
12
|
+
- backbone
|
|
13
|
+
- backend
|
|
14
|
+
- contiguous selection
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
extends: substitution
|
|
2
|
+
message: "Consider using '%s' instead of '%s'."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
|
|
4
|
+
ignorecase: true
|
|
5
|
+
level: suggestion
|
|
6
|
+
action:
|
|
7
|
+
name: replace
|
|
8
|
+
swap:
|
|
9
|
+
"approximate(?:ly)?": about
|
|
10
|
+
abundance: plenty
|
|
11
|
+
accelerate: speed up
|
|
12
|
+
accentuate: stress
|
|
13
|
+
accompany: go with
|
|
14
|
+
accomplish: carry out|do
|
|
15
|
+
accorded: given
|
|
16
|
+
accordingly: so
|
|
17
|
+
accrue: add
|
|
18
|
+
accurate: right|exact
|
|
19
|
+
acquiesce: agree
|
|
20
|
+
acquire: get|buy
|
|
21
|
+
additional: more|extra
|
|
22
|
+
address: discuss
|
|
23
|
+
addressees: you
|
|
24
|
+
adjacent to: next to
|
|
25
|
+
adjustment: change
|
|
26
|
+
admissible: allowed
|
|
27
|
+
advantageous: helpful
|
|
28
|
+
advise: tell
|
|
29
|
+
aggregate: total
|
|
30
|
+
aircraft: plane
|
|
31
|
+
alleviate: ease
|
|
32
|
+
allocate: assign|divide
|
|
33
|
+
alternatively: or
|
|
34
|
+
alternatives: choices|options
|
|
35
|
+
ameliorate: improve
|
|
36
|
+
amend: change
|
|
37
|
+
anticipate: expect
|
|
38
|
+
apparent: clear|plain
|
|
39
|
+
ascertain: discover|find out
|
|
40
|
+
assistance: help
|
|
41
|
+
attain: meet
|
|
42
|
+
attempt: try
|
|
43
|
+
authorize: allow
|
|
44
|
+
belated: late
|
|
45
|
+
bestow: give
|
|
46
|
+
cease: stop|end
|
|
47
|
+
collaborate: work together
|
|
48
|
+
commence: begin
|
|
49
|
+
compensate: pay
|
|
50
|
+
component: part
|
|
51
|
+
comprise: form|include
|
|
52
|
+
concept: idea
|
|
53
|
+
concerning: about
|
|
54
|
+
confer: give|award
|
|
55
|
+
consequently: so
|
|
56
|
+
consolidate: merge
|
|
57
|
+
constitutes: forms
|
|
58
|
+
contains: has
|
|
59
|
+
convene: meet
|
|
60
|
+
demonstrate: show|prove
|
|
61
|
+
depart: leave
|
|
62
|
+
designate: choose
|
|
63
|
+
desire: want|wish
|
|
64
|
+
determine: decide|find
|
|
65
|
+
detrimental: bad|harmful
|
|
66
|
+
disclose: share|tell
|
|
67
|
+
discontinue: stop
|
|
68
|
+
disseminate: send|give
|
|
69
|
+
eliminate: end
|
|
70
|
+
elucidate: explain
|
|
71
|
+
employ: use
|
|
72
|
+
enclosed: inside|included
|
|
73
|
+
encounter: meet
|
|
74
|
+
endeavor: try
|
|
75
|
+
enumerate: count
|
|
76
|
+
equitable: fair
|
|
77
|
+
equivalent: equal
|
|
78
|
+
exclusively: only
|
|
79
|
+
expedite: hurry
|
|
80
|
+
facilitate: ease
|
|
81
|
+
females: women
|
|
82
|
+
finalize: complete|finish
|
|
83
|
+
frequently: often
|
|
84
|
+
identical: same
|
|
85
|
+
incorrect: wrong
|
|
86
|
+
indication: sign
|
|
87
|
+
initiate: start|begin
|
|
88
|
+
itemized: listed
|
|
89
|
+
jeopardize: risk
|
|
90
|
+
liaise: work with|partner with
|
|
91
|
+
maintain: keep|support
|
|
92
|
+
methodology: method
|
|
93
|
+
modify: change
|
|
94
|
+
monitor: check|watch
|
|
95
|
+
multiple: many
|
|
96
|
+
necessitate: cause
|
|
97
|
+
notify: tell
|
|
98
|
+
numerous: many
|
|
99
|
+
objective: aim|goal
|
|
100
|
+
obligate: bind|compel
|
|
101
|
+
optimum: best|most
|
|
102
|
+
permit: let
|
|
103
|
+
portion: part
|
|
104
|
+
possess: own
|
|
105
|
+
previous: earlier
|
|
106
|
+
previously: before
|
|
107
|
+
prioritize: rank
|
|
108
|
+
procure: buy
|
|
109
|
+
provide: give|offer
|
|
110
|
+
purchase: buy
|
|
111
|
+
relocate: move
|
|
112
|
+
solicit: request
|
|
113
|
+
state-of-the-art: latest
|
|
114
|
+
subsequent: later|next
|
|
115
|
+
substantial: large
|
|
116
|
+
sufficient: enough
|
|
117
|
+
terminate: end
|
|
118
|
+
transmit: send
|
|
119
|
+
utilization: use
|
|
120
|
+
utilize: use
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
extends: substitution
|
|
2
|
+
message: "Use '%s' instead of '%s'."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-contractions
|
|
4
|
+
level: error
|
|
5
|
+
ignorecase: true
|
|
6
|
+
action:
|
|
7
|
+
name: replace
|
|
8
|
+
swap:
|
|
9
|
+
are not: aren't
|
|
10
|
+
cannot: can't
|
|
11
|
+
could not: couldn't
|
|
12
|
+
did not: didn't
|
|
13
|
+
do not: don't
|
|
14
|
+
does not: doesn't
|
|
15
|
+
has not: hasn't
|
|
16
|
+
have not: haven't
|
|
17
|
+
how is: how's
|
|
18
|
+
is not: isn't
|
|
19
|
+
|
|
20
|
+
'it is(?!\.)': it's
|
|
21
|
+
'it''s(?=\.)': it is
|
|
22
|
+
|
|
23
|
+
should not: shouldn't
|
|
24
|
+
|
|
25
|
+
"that is(?![.,])": that's
|
|
26
|
+
'that''s(?=\.)': that is
|
|
27
|
+
|
|
28
|
+
'they are(?!\.)': they're
|
|
29
|
+
'they''re(?=\.)': they are
|
|
30
|
+
|
|
31
|
+
was not: wasn't
|
|
32
|
+
|
|
33
|
+
'we are(?!\.)': we're
|
|
34
|
+
'we''re(?=\.)': we are
|
|
35
|
+
|
|
36
|
+
'we have(?!\.)': we've
|
|
37
|
+
'we''ve(?=\.)': we have
|
|
38
|
+
|
|
39
|
+
were not: weren't
|
|
40
|
+
|
|
41
|
+
'what is(?!\.)': what's
|
|
42
|
+
'what''s(?=\.)': what is
|
|
43
|
+
|
|
44
|
+
'when is(?!\.)': when's
|
|
45
|
+
'when''s(?=\.)': when is
|
|
46
|
+
|
|
47
|
+
'where is(?!\.)': where's
|
|
48
|
+
'where''s(?=\.)': where is
|
|
49
|
+
|
|
50
|
+
will not: won't
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: "Remove the spaces around '%s'."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/emes
|
|
4
|
+
ignorecase: true
|
|
5
|
+
nonword: true
|
|
6
|
+
level: error
|
|
7
|
+
action:
|
|
8
|
+
name: edit
|
|
9
|
+
params:
|
|
10
|
+
- remove
|
|
11
|
+
- ' '
|
|
12
|
+
tokens:
|
|
13
|
+
- '[—–]\s|\s[—–]'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: Use 'July 31, 2016' format, not '%s'.
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms
|
|
4
|
+
ignorecase: true
|
|
5
|
+
level: error
|
|
6
|
+
nonword: true
|
|
7
|
+
tokens:
|
|
8
|
+
- '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}'
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: "Don't use ordinal numbers for dates."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates
|
|
4
|
+
level: error
|
|
5
|
+
nonword: true
|
|
6
|
+
ignorecase: true
|
|
7
|
+
raw:
|
|
8
|
+
- \b(?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?)\b\s*
|
|
9
|
+
tokens:
|
|
10
|
+
- first
|
|
11
|
+
- second
|
|
12
|
+
- third
|
|
13
|
+
- fourth
|
|
14
|
+
- fifth
|
|
15
|
+
- sixth
|
|
16
|
+
- seventh
|
|
17
|
+
- eighth
|
|
18
|
+
- ninth
|
|
19
|
+
- tenth
|
|
20
|
+
- eleventh
|
|
21
|
+
- twelfth
|
|
22
|
+
- thirteenth
|
|
23
|
+
- fourteenth
|
|
24
|
+
- fifteenth
|
|
25
|
+
- sixteenth
|
|
26
|
+
- seventeenth
|
|
27
|
+
- eighteenth
|
|
28
|
+
- nineteenth
|
|
29
|
+
- twentieth
|
|
30
|
+
- twenty-first
|
|
31
|
+
- twenty-second
|
|
32
|
+
- twenty-third
|
|
33
|
+
- twenty-fourth
|
|
34
|
+
- twenty-fifth
|
|
35
|
+
- twenty-sixth
|
|
36
|
+
- twenty-seventh
|
|
37
|
+
- twenty-eighth
|
|
38
|
+
- twenty-ninth
|
|
39
|
+
- thirtieth
|
|
40
|
+
- thirty-first
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
extends: existence
|
|
2
|
+
message: "Use first person (such as '%s') sparingly."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/grammar/person
|
|
4
|
+
ignorecase: true
|
|
5
|
+
level: warning
|
|
6
|
+
nonword: true
|
|
7
|
+
tokens:
|
|
8
|
+
- (?:^|\s)I\s
|
|
9
|
+
- (?:^|\s)I,\s
|
|
10
|
+
- \bI'd\b
|
|
11
|
+
- \bI'll\b
|
|
12
|
+
- \bI'm\b
|
|
13
|
+
- \bI've\b
|
|
14
|
+
- \bme\b
|
|
15
|
+
- \bmy\b
|
|
16
|
+
- \bmine\b
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
extends: substitution
|
|
2
|
+
message: "Use '%s' instead of '%s'."
|
|
3
|
+
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-us-spelling-avoid-non-english-words
|
|
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
|
|
12
|
+
'\b(?:viz\.)[\s,]': namely
|
|
13
|
+
'\b(?:ergo)[\s,]': therefore
|