Skip to content

Commit 8ce4527

Browse files
Merge pull request #533 from hippietrail/more-holidays
feat(core): even more holidays
2 parents 7d09c81 + be9644f commit 8ce4527

File tree

1 file changed

+79
-1
lines changed

1 file changed

+79
-1
lines changed

harper-core/src/linting/proper_noun_capitalization_linters.rs

+79-1
Original file line numberDiff line numberDiff line change
@@ -114,29 +114,107 @@ 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",
123150
"Fathers'",
124151
"Flag",
152+
"Forefathers'",
153+
"Foundation",
154+
"Freedom",
155+
"Galentine's",
125156
"Groundhog",
157+
"Gypsy",
126158
"Halloween",
127159
"Independence",
160+
"Invasion",
161+
"Ivy",
162+
"Jamhuri",
163+
"Jubilee",
164+
"Kamehameha",
165+
"Kenyatta",
128166
"Labor",
129167
"Labour",
168+
"Lady",
169+
"Land",
170+
"Lei",
171+
"Madaraka",
172+
"Mashujaa",
130173
"May",
131174
"Memorial",
175+
"Merdeka",
176+
"Midsummer",
177+
"Midsummer's",
178+
"Mother's",
132179
"Mothers'",
180+
"Nakba",
181+
"Nevada",
182+
"Occupation",
133183
"Parents",
184+
"Patrick's",
185+
"Patriots'",
186+
"Pi",
187+
"Picrous",
188+
"Pioneer",
134189
"Presidents'",
190+
"Remembrance",
191+
"Republic",
192+
"Restoration",
193+
"Rizal",
194+
"Roc",
195+
"Rock",
196+
"Seward's",
197+
"Singles'",
198+
"Statehood",
135199
"Tax",
136200
"Thanksgiving",
201+
"Treason",
202+
"Ulster",
137203
"Valentine's",
204+
"VE",
205+
"VJ",
206+
"VP",
138207
"Veterans",
139-
"Years"
208+
"Victoria",
209+
"Victory",
210+
"Waffle",
211+
"Waitangi",
212+
"Wattle",
213+
"White",
214+
"Wren",
215+
"Years",
216+
"Year's",
217+
"Youth",
140218
])),
141219
Box::new(
142220
SequencePattern::default()

0 commit comments

Comments
 (0)