Skip to content

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

fix(linting): replace leftover skeleton descriptions (#4564) (#4566)

yi111f784ed47e4bf
diff --git a/harper-core/src/linting/arrive_to.rs b/harper-core/src/linting/arrive_to.rs
index afded0b94..41027638d 100644
--- a/harper-core/src/linting/arrive_to.rs
+++ b/harper-core/src/linting/arrive_to.rs
@@ -51,7 +51,7 @@ impl ExprLinter for ArriveTo {
}
fn description(&self) -> &str {
- "A linter skeleton for contributors to copy into `harper_core/src/linting/` and rename."
+ "Corrects `arrive to` to `arrive at` or `arrive in`."
}
}
diff --git a/harper-core/src/linting/comfortable_with.rs b/harper-core/src/linting/comfortable_with.rs
index eb59f7b9d..bd8460ae9 100644
--- a/harper-core/src/linting/comfortable_with.rs
+++ b/harper-core/src/linting/comfortable_with.rs
@@ -56,7 +56,7 @@ impl ExprLinter for ComfortableWith {
}
fn description(&self) -> &str {
- "A linter skeleton for contributors to copy into `harper_core/src/linting/` and rename."
+ "Corrects `comfortable of` to `comfortable with`."
}
}
diff --git a/harper-core/src/linting/handful_of_more.rs b/harper-core/src/linting/handful_of_more.rs
index a80fcaf69..2064eafb2 100644
--- a/harper-core/src/linting/handful_of_more.rs
+++ b/harper-core/src/linting/handful_of_more.rs
@@ -42,7 +42,7 @@ impl ExprLinter for HandfulOfMore {
}
fn description(&self) -> &str {
- "A linter skeleton for contributors to copy into `harper_core/src/linting/` and rename."
+ "Removes the nonstandard `of` from `handful of more`."
}
}
diff --git a/harper-core/src/linting/little_known.rs b/harper-core/src/linting/little_known.rs
index 75d5c0a5f..2efb4d38b 100644
--- a/harper-core/src/linting/little_known.rs
+++ b/harper-core/src/linting/little_known.rs
@@ -55,7 +55,7 @@ impl ExprLinter for LittleKnown {
}
fn description(&self) -> &str {
- "A linter skeleton for contributors to copy into `harper_core/src/linting/` and rename."
+ "Fixes nonstandard uses of `little known`."
}
}
diff --git a/harper-core/src/linting/on_the_fence.rs b/harper-core/src/linting/on_the_fence.rs
index 7a2635937..933b33c38 100644
--- a/harper-core/src/linting/on_the_fence.rs
+++ b/harper-core/src/linting/on_the_fence.rs
@@ -74,7 +74,7 @@ impl ExprLinter for OnTheFence {
}
fn description(&self) -> &str {
- "A linter skeleton for contributors to copy into `harper_core/src/linting/` and rename."
+ "Corrects `on a fence` to `on the fence` for the idiom meaning 'undecided'."
}
}
diff --git a/harper-core/src/linting/pale_by_comparison.rs b/harper-core/src/linting/pale_by_comparison.rs
index 6be37f1a3..0d1fd1be7 100644
--- a/harper-core/src/linting/pale_by_comparison.rs
+++ b/harper-core/src/linting/pale_by_comparison.rs
@@ -68,7 +68,7 @@ impl ExprLinter for PaleByComparison {
}
fn description(&self) -> &str {
- "A linter skeleton for contributors to copy into `harper_core/src/linting/` and rename."
+ "Corrects variants of the idiom \"pale by/in comparison\" where pale is incorrectly used as an adjective instead of a verb."
}
}