Skip to content

Commit 05d41d6

Browse files
committed
feat(core): even more holidays
I went through and verified every two-word "Day" holiday in the English Wiktionary. These are the ones that passed muster.
1 parent 52f1359 commit 05d41d6

File tree

1 file changed

+92
-1
lines changed

1 file changed

+92
-1
lines changed

harper-core/src/linting/proper_noun_capitalization_linters.rs

+92-1
Original file line numberDiff line numberDiff line change
@@ -114,29 +114,120 @@ create_linter_for!(
114114
SequencePattern::default()
115115
.then(Box::new(EitherPattern::new(vec![
116116
Box::new(WordSet::all(&[
117+
"Absolution",
118+
"Admission",
119+
"Alaska",
120+
"Anzac",
121+
"ANZAC",
122+
"Arbor",
117123
"Armistice",
124+
"Ascension",
125+
"Australia",
126+
"Ayurveda",
127+
"Bastille",
128+
"Bonifacio",
118129
"Boxing",
130+
"Canada",
131+
"Career",
132+
"Chewidden",
119133
"Christmas",
134+
"Class",
120135
"Columbus",
136+
"Commonwealth",
137+
"D",
138+
"Darwin",
139+
"Discovery",
140+
"Distaff",
141+
"Dominion",
121142
"Earth",
122143
"Easter",
144+
"Election",
145+
"Emancipation",
146+
"Empire",
147+
"Evolution",
148+
"Family",
149+
"Father's",
150+
"Father’s",
123151
"Fathers'",
152+
"Fathers’",
124153
"Flag",
154+
"Forefathers'",
155+
"Forefathers’",
156+
"Foundation",
157+
"Freedom",
158+
"Galentine's",
159+
"Galentine’s",
125160
"Groundhog",
161+
"Gypsy",
126162
"Halloween",
127163
"Independence",
164+
"Invasion",
165+
"Ivy",
166+
"Jamhuri",
167+
"Jubilee",
168+
"Kamehameha",
169+
"Kenyatta",
128170
"Labor",
129171
"Labour",
172+
"Lady",
173+
"Land",
174+
"Lei",
175+
"Madaraka",
176+
"Mashujaa",
130177
"May",
131178
"Memorial",
179+
"Merdeka",
180+
"Midsummer",
181+
"Midsummer's",
182+
"Midsummer’s",
183+
"Mother's",
184+
"Mother’s",
132185
"Mothers'",
186+
"Mothers’",
187+
"Nakba",
188+
"Nevada",
189+
"Occupation",
133190
"Parents",
191+
"Patrick's",
192+
"Patrick’s",
193+
"Patriots'",
194+
"Patriots’",
195+
"Pi",
196+
"Picrous",
197+
"Pioneer",
134198
"Presidents'",
199+
"Remembrance",
200+
"Republic",
201+
"Restoration",
202+
"Rizal",
203+
"Roc",
204+
"Rock",
205+
"Seward's",
206+
"Seward’s",
207+
"Singles'",
208+
"Singles’",
209+
"Statehood",
135210
"Tax",
136211
"Thanksgiving",
212+
"Treason",
213+
"Ulster",
137214
"Valentine's",
215+
"Valentine’s",
216+
"VE",
217+
"VJ",
218+
"VP",
138219
"Veterans",
139-
"Years"
220+
"Victoria",
221+
"Victory",
222+
"Waffle",
223+
"Waitangi",
224+
"Wattle",
225+
"White",
226+
"Wren",
227+
"Years",
228+
"Year's",
229+
"Year’s",
230+
"Youth",
140231
])),
141232
Box::new(
142233
SequencePattern::default()

0 commit comments

Comments
 (0)