Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

sort and add to list of holidays

hippietrail1853d9f4ee7f
diff --git a/harper-core/src/linting/proper_noun_capitalization_linters.rs b/harper-core/src/linting/proper_noun_capitalization_linters.rs
index 0ad9444ff..30bb4e181 100644
--- a/harper-core/src/linting/proper_noun_capitalization_linters.rs
+++ b/harper-core/src/linting/proper_noun_capitalization_linters.rs
@@ -114,25 +114,29 @@ create_linter_for!(
SequencePattern::default()
.then(Box::new(EitherPattern::new(vec![
Box::new(WordSet::all(&[
- "Presidents'",
- "Valentine's",
+ "Armistice",
+ "Boxing",
"Christmas",
+ "Columbus",
+ "Earth",
"Easter",
+ "Fathers'",
"Flag",
+ "Groundhog",
+ "Halloween",
"Independence",
- "Mothers'",
- "Years",
- "Fathers'",
- "Columbus",
- "Thanksgiving",
- "Memorial",
+ "Labor",
+ "Labour",
"May",
- "Halloween",
- "Tax",
+ "Memorial",
+ "Mothers'",
"Parents",
+ "Presidents'",
+ "Tax",
+ "Thanksgiving",
+ "Valentine's",
"Veterans",
- "Armistice",
- "Groundhog"
+ "Years"
])),
Box::new(
SequencePattern::default()