Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat(core): even more holidays
hippietrail05d41d6cafe4
diff --git a/harper-core/src/linting/proper_noun_capitalization_linters.rs b/harper-core/src/linting/proper_noun_capitalization_linters.rsindex 30bb4e181..97aad2e8b 100644--- a/harper-core/src/linting/proper_noun_capitalization_linters.rs+++ b/harper-core/src/linting/proper_noun_capitalization_linters.rs@@ -114,29 +114,120 @@ create_linter_for!(SequencePattern::default().then(Box::new(EitherPattern::new(vec![Box::new(WordSet::all(&[+ "Absolution",+ "Admission",+ "Alaska",+ "Anzac",+ "ANZAC",+ "Arbor","Armistice",+ "Ascension",+ "Australia",+ "Ayurveda",+ "Bastille",+ "Bonifacio","Boxing",+ "Canada",+ "Career",+ "Chewidden","Christmas",+ "Class","Columbus",+ "Commonwealth",+ "D",+ "Darwin",+ "Discovery",+ "Distaff",+ "Dominion","Earth","Easter",+ "Election",+ "Emancipation",+ "Empire",+ "Evolution",+ "Family",+ "Father's",+ "Father’s","Fathers'",+ "Fathers’","Flag",+ "Forefathers'",+ "Forefathers’",+ "Foundation",+ "Freedom",+ "Galentine's",+ "Galentine’s","Groundhog",+ "Gypsy","Halloween","Independence",+ "Invasion",+ "Ivy",+ "Jamhuri",+ "Jubilee",+ "Kamehameha",+ "Kenyatta","Labor","Labour",+ "Lady",+ "Land",+ "Lei",+ "Madaraka",+ "Mashujaa","May","Memorial",+ "Merdeka",+ "Midsummer",+ "Midsummer's",+ "Midsummer’s",+ "Mother's",+ "Mother’s","Mothers'",+ "Mothers’",+ "Nakba",+ "Nevada",+ "Occupation","Parents",+ "Patrick's",+ "Patrick’s",+ "Patriots'",+ "Patriots’",+ "Pi",+ "Picrous",+ "Pioneer","Presidents'",+ "Remembrance",+ "Republic",+ "Restoration",+ "Rizal",+ "Roc",+ "Rock",+ "Seward's",+ "Seward’s",+ "Singles'",+ "Singles’",+ "Statehood","Tax","Thanksgiving",+ "Treason",+ "Ulster","Valentine's",+ "Valentine’s",+ "VE",+ "VJ",+ "VP","Veterans",- "Years"+ "Victoria",+ "Victory",+ "Waffle",+ "Waitangi",+ "Wattle",+ "White",+ "Wren",+ "Years",+ "Year's",+ "Year’s",+ "Youth",])),Box::new(SequencePattern::default()