Skip to content

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

refactor: fix some that fell victim to undo

hippietrailc04507e12405
diff --git a/harper-core/src/linting/compound_nouns/general_compound_nominals.rs b/harper-core/src/linting/compound_nouns/general_compound_nouns.rs
similarity index 100%
rename from harper-core/src/linting/compound_nouns/general_compound_nominals.rs
rename to harper-core/src/linting/compound_nouns/general_compound_nouns.rs
diff --git a/harper-core/src/linting/compound_nouns/implied_action_compound_nominals.rs b/harper-core/src/linting/compound_nouns/implied_action_compound_nouns.rs
similarity index 100%
rename from harper-core/src/linting/compound_nouns/implied_action_compound_nominals.rs
rename to harper-core/src/linting/compound_nouns/implied_action_compound_nouns.rs
diff --git a/harper-core/src/linting/compound_nouns/implied_ownership_compound_nominals.rs b/harper-core/src/linting/compound_nouns/implied_ownership_compound_nouns.rs
similarity index 100%
rename from harper-core/src/linting/compound_nouns/implied_ownership_compound_nominals.rs
rename to harper-core/src/linting/compound_nouns/implied_ownership_compound_nouns.rs
diff --git a/harper-core/src/linting/compound_nouns/mod.rs b/harper-core/src/linting/compound_nouns/mod.rs
index 06998eb6f..9cf3033d6 100644
--- a/harper-core/src/linting/compound_nouns/mod.rs
+++ b/harper-core/src/linting/compound_nouns/mod.rs
@@ -1,12 +1,12 @@
-mod general_compound_nominals;
-mod implied_action_compound_nominals;
-mod implied_ownership_compound_nominals;
+mod general_compound_nouns;
+mod implied_action_compound_nouns;
+mod implied_ownership_compound_nouns;
use super::{Lint, LintKind, Suggestion, merge_linters::merge_linters};
-use general_compound_nominals::GeneralCompoundNouns;
-use implied_action_compound_nominals::ImpliedActionCompoundNouns;
-use implied_ownership_compound_nominals::ImpliedOwnershipCompoundNouns;
+use general_compound_nouns::GeneralCompoundNouns;
+use implied_action_compound_nouns::ImpliedActionCompoundNouns;
+use implied_ownership_compound_nouns::ImpliedOwnershipCompoundNouns;
merge_linters!(CompoundNouns => GeneralCompoundNouns, ImpliedOwnershipCompoundNouns, ImpliedActionCompoundNouns => "Detects compound nouns split by a space and suggests merging them when both parts form a valid noun." );