Skip to content

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

fix(core): address several outstanding issues (#3169)

Elijah Pottercc5339267fe3
diff --git a/harper-core/default_config.json b/harper-core/default_config.json
index ac91faaba..28024fdd2 100644
--- a/harper-core/default_config.json
+++ b/harper-core/default_config.json
@@ -1219,6 +1219,13 @@
"label": "Not Only"
}
},
+ {
+ "Bool": {
+ "name": "Payed",
+ "state": true,
+ "label": "Payed"
+ }
+ },
{
"Bool": {
"name": "RiseTheQuestion",
@@ -4976,6 +4983,13 @@
"label": "Find Fine"
}
},
+ {
+ "Bool": {
+ "name": "FindOut",
+ "state": true,
+ "label": "Find Out"
+ }
+ },
{
"Bool": {
"name": "GoSoFarAsTo",
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index 6fc050780..35418da82 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -38465,7 +38465,6 @@ pay's
payback/NmSg
paycheck/~NgS
payday/NgS
-payed/V
payee/NSg
payer/NSg
payload/~NSg
diff --git a/harper-core/src/document.rs b/harper-core/src/document.rs
index ef7717b95..3c0dab756 100644
--- a/harper-core/src/document.rs
+++ b/harper-core/src/document.rs
@@ -418,6 +418,8 @@ impl Document {
| Some(Punctuation::OpenRound)
| Some(Punctuation::OpenSquare)
| Some(Punctuation::OpenCurly)
+ | Some(Punctuation::EmDash)
+ | Some(Punctuation::EnDash)
| Some(Punctuation::Apostrophe)
);
diff --git a/harper-core/src/linting/lint_group/mod.rs b/harper-core/src/linting/lint_group/mod.rs
index d0693c5d1..f662cde9a 100644
--- a/harper-core/src/linting/lint_group/mod.rs
+++ b/harper-core/src/linting/lint_group/mod.rs
@@ -728,7 +728,6 @@ impl LintGroup {
insert_expr_rule!(WasAloud, true);
insert_expr_rule!(WayTooAdjective, true);
insert_expr_rule!(WellEducated, true);
- insert_expr_rule!(WereWhere, true);
insert_expr_rule!(Whereas, true);
insert_expr_rule!(WhomSubjectOfVerb, true);
insert_expr_rule!(WidelyAccepted, true);
@@ -760,6 +759,10 @@ impl LintGroup {
out.add("PluralDecades", PluralDecades::default());
out.config.set_rule_enabled("PluralDecades", true);
+ // Uses Sentence rather than Chunk
+ out.add("WereWhere", WereWhere::default());
+ out.config.set_rule_enabled("WereWhere", true);
+
// Uses Dictionary and Dialect
out.add("SpellCheck", SpellCheck::new(dictionary.clone(), dialect));
out.config.set_rule_enabled("SpellCheck", true);
diff --git a/harper-core/src/linting/lint_group/structured_config/mod.rs b/harper-core/src/linting/lint_group/structured_config/mod.rs
index fde274e16..5ebfbf756 100644
--- a/harper-core/src/linting/lint_group/structured_config/mod.rs
+++ b/harper-core/src/linting/lint_group/structured_config/mod.rs
@@ -116,10 +116,35 @@ impl Setting {
#[cfg(test)]
mod tests {
+ use std::collections::BTreeSet;
+
+ use crate::Dialect;
use crate::linting::FlatConfig;
+ use crate::linting::LintGroup;
+ use crate::spell::MutableDictionary;
use super::{Setting, StructuredConfig};
+ fn collect_rule_names(config: &StructuredConfig) -> BTreeSet<String> {
+ let mut out = BTreeSet::new();
+
+ for setting in &config.settings {
+ match setting {
+ Setting::Bool { name, .. } => {
+ out.insert(name.clone());
+ }
+ Setting::OneOfMany { names, .. } => {
+ out.extend(names.iter().cloned());
+ }
+ Setting::Group { child, .. } => {
+ out.extend(collect_rule_names(child));
+ }
+ }
+ }
+
+ out
+ }
+
#[test]
fn validates_bool_true() {
assert!(
@@ -283,4 +308,32 @@ mod tests {
fn curated_is_valid() {
assert!(StructuredConfig::curated().validate());
}
+
+ #[test]
+ fn curated_default_config_lists_every_registered_rule() {
+ let curated = StructuredConfig::curated();
+ let curated_rule_names = collect_rule_names(&curated);
+
+ let runtime_rule_names =
+ LintGroup::new_curated(MutableDictionary::new().into(), Dialect::American)
+ .iter_keys()
+ .map(str::to_owned)
+ .collect::<BTreeSet<_>>();
+
+ let missing_from_default_config = runtime_rule_names
+ .difference(&curated_rule_names)
+ .cloned()
+ .collect::<Vec<_>>();
+ let extra_in_default_config = curated_rule_names
+ .difference(&runtime_rule_names)
+ .cloned()
+ .collect::<Vec<_>>();
+
+ assert!(
+ missing_from_default_config.is_empty() && extra_in_default_config.is_empty(),
+ "default_config.json drifted from the registered rule set\nmissing from default_config.json: {:?}\nextra in default_config.json: {:?}\nDid you forget to add the missing rule(s) to default_config.json?",
+ missing_from_default_config,
+ extra_in_default_config,
+ );
+ }
}
diff --git a/harper-core/src/linting/missing_to.rs b/harper-core/src/linting/missing_to.rs
index 2e671778f..4088f932c 100644
--- a/harper-core/src/linting/missing_to.rs
+++ b/harper-core/src/linting/missing_to.rs
@@ -1,6 +1,6 @@
use harper_brill::UPOS;
-use crate::linting::expr_linter::Chunk;
+use crate::linting::expr_linter::{Chunk, followed_by_word, preceded_by_word};
use crate::{
Token,
expr::{Expr, ExprMap, SequenceExpr},
@@ -252,7 +252,12 @@ impl ExprLinter for MissingTo {
&self.map
}
- fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Option<Lint> {
+ fn match_to_lint_with_context(
+ &self,
+ matched_tokens: &[Token],
+ source: &[char],
+ context: Option<(&[Token], &[Token])>,
+ ) -> Option<Lint> {
let offending_idx = *self.map.lookup(0, matched_tokens, source)?;
let controller = &matched_tokens[offending_idx];
let span = controller.span;
@@ -260,6 +265,16 @@ impl ExprLinter for MissingTo {
let controller_text = controller.get_str(source).to_lowercase();
let controller_text = controller_text.as_str();
+ if controller.kind.is_verb()
+ && controller.kind.is_adjective()
+ && preceded_by_word(context, |tok| tok.kind.is_nominal())
+ && followed_by_word(context, |tok| {
+ tok.kind.is_auxiliary_verb() || tok.kind.is_adverb()
+ })
+ {
+ return None;
+ }
+
let is_adjective_controller = matches!(controller_text, "eager" | "inclined" | "ready");
if controller.kind.is_upos(UPOS::ADJ) && !is_adjective_controller {
@@ -534,6 +549,15 @@ mod tests {
);
}
+ #[test]
+ fn no_lint_reduced_relative_clause_after_participle() {
+ assert_lint_count(
+ "The techniques learned would probably not change much with resolution so 480i would seem almost as usable for educational use as 8K video.",
+ MissingTo::default(),
+ 0,
+ );
+ }
+
#[test]
fn no_lint_bouquet_of_roses() {
assert_lint_count(
diff --git a/harper-core/src/linting/phrase_set_corrections/mod.rs b/harper-core/src/linting/phrase_set_corrections/mod.rs
index 32b8986b6..59f4e91d5 100644
--- a/harper-core/src/linting/phrase_set_corrections/mod.rs
+++ b/harper-core/src/linting/phrase_set_corrections/mod.rs
@@ -683,6 +683,15 @@ pub fn lint_group() -> LintGroup {
"Corrects `copywrite` to `copyright`. `Copywrite` refers to writing copy, while `copyright` is the legal right to creative works.",
LintKind::WordChoice
),
+ "Payed" => (
+ &[
+ (&["payed"], &["paid"]),
+ (&["overpayed"], &["overpaid"]),
+ ],
+ "Use `paid` or `overpaid` here. `Payed` is a rare nautical spelling.",
+ "Corrects `payed` to `paid` and `overpayed` to `overpaid`.",
+ LintKind::Spelling
+ ),
"DateBackFrom" => (
&[
(&["date back from"], &["date from", "date back to"]),
diff --git a/harper-core/src/linting/phrase_set_corrections/tests.rs b/harper-core/src/linting/phrase_set_corrections/tests.rs
index 1c99780cc..69bc598de 100644
--- a/harper-core/src/linting/phrase_set_corrections/tests.rs
+++ b/harper-core/src/linting/phrase_set_corrections/tests.rs
@@ -2199,6 +2199,26 @@ fn copywrote() {
);
}
+// Payed
+
+#[test]
+fn correct_payed() {
+ assert_suggestion_result(
+ "He payed the bill yesterday.",
+ lint_group(),
+ "He paid the bill yesterday.",
+ );
+}
+
+#[test]
+fn correct_overpayed() {
+ assert_suggestion_result(
+ "He overpayed in part to have the specification met.",
+ lint_group(),
+ "He overpaid in part to have the specification met.",
+ );
+}
+
// DateBackFrom
#[test]
diff --git a/harper-core/src/linting/unclosed_quotes.rs b/harper-core/src/linting/unclosed_quotes.rs
index ac5504312..09c484455 100644
--- a/harper-core/src/linting/unclosed_quotes.rs
+++ b/harper-core/src/linting/unclosed_quotes.rs
@@ -30,3 +30,22 @@ impl Linter for UnclosedQuotes {
"Quotation marks should always be closed. Unpaired quotation marks are a hallmark of sloppy work."
}
}
+
+#[cfg(test)]
+mod tests {
+ use super::UnclosedQuotes;
+ use crate::linting::tests::{assert_lint_count, assert_no_lints};
+
+ #[test]
+ fn allows_dialogue_with_em_dash_interruption() {
+ assert_no_lints(
+ "\"It'll be our\"—she leaned to his ear—\"shared secret.\"",
+ UnclosedQuotes::default(),
+ );
+ }
+
+ #[test]
+ fn still_flags_unclosed_quotes() {
+ assert_lint_count("\"It'll be our", UnclosedQuotes::default(), 1);
+ }
+}
diff --git a/harper-core/src/linting/weir_rules/FindOut.weir b/harper-core/src/linting/weir_rules/FindOut.weir
new file mode 100644
index 000000000..15b16d16e
--- /dev/null
+++ b/harper-core/src/linting/weir_rules/FindOut.weir
@@ -0,0 +1,28 @@
+expr phrase (find out)
+expr main <(@phrase ![about, by, from, how, if, more, that, what, when, where, whether, who, whom, whose, why, through, via, ., ?, :, ;, -, –, —, (,)]), @phrase>
+
+let message "Use `find` instead of `find out` when you mean to discover something directly."
+let description "Flags `find out` when a plain `find` is the better choice."
+let kind "WordChoice"
+let becomes "find"
+let strategy "MatchCase"
+
+# True positives
+test "I need to find out ways to do the work that I want to do while walking." "I need to find ways to do the work that I want to do while walking."
+test "We should find out the answer." "We should find the answer."
+test "They will find out latest supported hugo version." "They will find latest supported hugo version."
+test "Can you find out plain text of given cipher text?" "Can you find plain text of given cipher text?"
+test "Please find out number of bits read from a file." "Please find number of bits read from a file."
+test "I wanted to find out branch coverage." "I wanted to find branch coverage."
+test "She tried to find out the proper query." "She tried to find the proper query."
+test "Find out latest supported version?" "Find latest supported version?"
+
+# True negatives
+allows "I need to find out what time the meeting starts."
+allows "We need to find out whether it works."
+allows "She found out that the server was down."
+allows "Can you find out if the build passed?"
+allows "We find out about the surprise party."
+allows "I need to find out more about the topic."
+allows "They were able to find out from the logs."
+allows "I asked them to find out why it failed."
diff --git a/harper-core/src/linting/were_where.rs b/harper-core/src/linting/were_where.rs
index 00faca5e4..7d6f7dd85 100644
--- a/harper-core/src/linting/were_where.rs
+++ b/harper-core/src/linting/were_where.rs
@@ -1,6 +1,6 @@
use harper_brill::UPOS;
-use crate::linting::expr_linter::Chunk;
+use crate::linting::expr_linter::Sentence;
use crate::{
CharStringExt, Token, TokenKind,
expr::{Expr, SequenceExpr},
@@ -32,6 +32,13 @@ impl Default for WereWhere {
.t_ws()
.then(UPOSSet::new(&[UPOS::VERB, UPOS::AUX, UPOS::ADJ]));
+ // "where you ..." can be a typo for "were you ..." when it starts a question.
+ let where_you_verb = SequenceExpr::aco("where")
+ .t_ws()
+ .t_aco("you")
+ .t_ws()
+ .then(UPOSSet::new(&[UPOS::VERB, UPOS::AUX, UPOS::ADJ]));
+
// === were → where ===
// A verb of cognition or motion followed directly by "were" and then a
@@ -53,6 +60,7 @@ impl Default for WereWhere {
expr: SequenceExpr::any_of(vec![
Box::new(unambiguous_pronoun_where),
Box::new(you_where_verb),
+ Box::new(where_you_verb),
Box::new(verb_were_clause),
]),
}
@@ -60,13 +68,18 @@ impl Default for WereWhere {
}
impl ExprLinter for WereWhere {
- type Unit = Chunk;
+ type Unit = Sentence;
fn expr(&self) -> &dyn Expr {
&self.expr
}
- fn match_to_lint(&self, toks: &[Token], src: &[char]) -> Option<Lint> {
+ fn match_to_lint_with_context(
+ &self,
+ toks: &[Token],
+ src: &[char],
+ context: Option<(&[Token], &[Token])>,
+ ) -> Option<Lint> {
const WHERE: &[char] = &['w', 'h', 'e', 'r', 'e'];
const WERE: &[char] = &['w', 'e', 'r', 'e'];
@@ -81,6 +94,9 @@ impl ExprLinter for WereWhere {
});
if let Some(tok) = where_tok {
+ if !crate::linting::expr_linter::at_start_of_sentence(context) {
+ return None;
+ }
Some(Lint {
span: tok.span,
lint_kind: LintKind::Typo,
@@ -263,6 +279,15 @@ mod tests {
);
}
+ #[test]
+ fn fix_where_you_able() {
+ assert_suggestion_result(
+ "Where you able to make forward progress here?",
+ WereWhere::default(),
+ "Were you able to make forward progress here?",
+ );
+ }
+
// ── were → where: more verbs and pronouns ────────────────────────────────
#[test]
@@ -368,6 +393,27 @@ mod tests {
assert_no_lints("He showed me where the exit was.", WereWhere::default());
}
+ #[test]
+ fn no_flag_where_you_go() {
+ assert_no_lints("I wonder where you go from here.", WereWhere::default());
+ }
+
+ #[test]
+ fn no_flag_where_you_can_customize() {
+ assert_no_lints(
+ "Click the menu item where you can customize the settings.",
+ WereWhere::default(),
+ );
+ }
+
+ #[test]
+ fn no_flag_where_you_allocate() {
+ assert_no_lints(
+ "Use the panel where you allocate resources for the task.",
+ WereWhere::default(),
+ );
+ }
+
// ── known limitations (documented but not yet handled) ───────────────────
#[test]
diff --git a/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml b/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml
index dda68ede0..5b0d4d2f0 100644
--- a/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml
+++ b/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml
@@ -1048,21 +1048,6 @@ Message: |
-Lint: Formatting (255 priority)
-Message: |
- 659 | Next came an angry voice—the Rabbit’s—“Pat! Pat! Where are you?” And then a
- | ^ This quote has no termination.
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 659 | Next came an angry voice—the Rabbit’s—“Pat! Pat! Where are you?” And then a
- | ^ This quote has no termination.
- 660 | voice she had never heard before, “Sure then I’m here! Digging for apples, yer
-
-
-
Lint: Spelling (63 priority)
Message: |
668 | “Sure, it’s an arm, yer honour!” (He pronounced it “arrum.”)
@@ -1111,13 +1096,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 692 | below!” (a loud crash)—“Now, who did that?—It was Bill, I fancy—Who’s to go down
- | ^ This quote has no termination.
-
-
-
Lint: Capitalization (31 priority)
Message: |
692 | below!” (a loud crash)—“Now, who did that?—It was Bill, I fancy—Who’s to go down
@@ -1137,13 +1115,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 694 | down—Here, Bill! the master says you’re to go down the chimney!”
- | ^ This quote has no termination.
-
-
-
Lint: Readability (127 priority)
Message: |
701 | She drew her foot as far down the chimney as she could, and waited till she
@@ -1157,37 +1128,6 @@ Message: |
-Lint: Formatting (255 priority)
-Message: |
- 706 | The first thing she heard was a general chorus of “There goes Bill!” then the
- 707 | Rabbit’s voice along—“Catch him, you by the hedge!” then silence, and then
- | ^ This quote has no termination.
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 707 | Rabbit’s voice along—“Catch him, you by the hedge!” then silence, and then
- | ^ This quote has no termination.
- 708 | another confusion of voices—“Hold up his head—Brandy now—Don’t choke him—How was
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 707 | Rabbit’s voice along—“Catch him, you by the hedge!” then silence, and then
- 708 | another confusion of voices—“Hold up his head—Brandy now—Don’t choke him—How was
- | ^ This quote has no termination.
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 709 | it, old fellow? What happened to you? Tell us all about it!”
- | ^ This quote has no termination.
-
-
-
Lint: Readability (127 priority)
Message: |
711 | Last came a little feeble, squeaking voice, (“That’s Bill,” thought Alice,)
@@ -1733,6 +1673,15 @@ Message: |
+Lint: WordChoice (31 priority)
+Message: |
+ 1394 | “Do you mean that you think you can find out the answer to it?” said the March
+ | ^~~~~~~~ Use `find` instead of `find out` when you mean to discover something directly.
+Suggest:
+ - Replace with: “find”
+
+
+
Lint: Miscellaneous (31 priority)
Message: |
1415 | dropped, and the party sat silent for a minute, while Alice thought over all she
@@ -1763,21 +1712,21 @@ Suggest:
-Lint: WordChoice (63 priority)
+Lint: Formatting (255 priority)
Message: |
+ 1497 | The Hatter shook his head mournfully. “Not I!” he replied. “We quarrelled last
+ | ^ This quote has no termination.
1498 | March—just before he went mad, you know—” (pointing with his tea spoon at the
- | ^~~~~~~~~ Did you mean the closed compound noun “teaspoon”?
- 1499 | March Hare,) “—it was at the great concert given by the Queen of Hearts, and I
-Suggest:
- - Replace with: “teaspoon”
-Lint: Formatting (255 priority)
+Lint: WordChoice (63 priority)
Message: |
1498 | March—just before he went mad, you know—” (pointing with his tea spoon at the
+ | ^~~~~~~~~ Did you mean the closed compound noun “teaspoon”?
1499 | March Hare,) “—it was at the great concert given by the Queen of Hearts, and I
- | ^ This quote has no termination.
+Suggest:
+ - Replace with: “teaspoon”
@@ -2584,22 +2533,6 @@ Message: |
-Lint: Formatting (255 priority)
-Message: |
- 2252 | “You may not have lived much under the sea—” (“I haven’t,” said Alice)—“and
- | ^ This quote has no termination.
- 2253 | perhaps you were never even introduced to a lobster—” (Alice began to say “I
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 2253 | perhaps you were never even introduced to a lobster—” (Alice began to say “I
- | ^ This quote has no termination.
- 2254 | once tasted—” but checked herself hastily, and said “No, never”) “—so you can
-
-
-
Lint: Spelling (63 priority)
Message: |
2259 | “Why,” said the Gryphon, “you first form into a line along the sea-shore—”
@@ -2734,22 +2667,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 2343 | here the Mock Turtle yawned and shut his eyes.—“Tell her about the reason and
- | ^ This quote has no termination.
- 2344 | all that,” he said to the Gryphon.
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 2343 | here the Mock Turtle yawned and shut his eyes.—“Tell her about the reason and
- 2344 | all that,” he said to the Gryphon.
- | ^ This quote has no termination.
-
-
-
Lint: Spelling (63 priority)
Message: |
2343 | here the Mock Turtle yawned and shut his eyes.—“Tell her about the reason and
@@ -3383,22 +3300,6 @@ Message: |
-Lint: Formatting (255 priority)
-Message: |
- 2513 | so good, that it made Alice quite hungry to look at them—“I wish they’d get the
- | ^ This quote has no termination.
- 2514 | trial done,” she thought, “and hand round the refreshments!” But there seemed to
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 2513 | so good, that it made Alice quite hungry to look at them—“I wish they’d get the
- 2514 | trial done,” she thought, “and hand round the refreshments!” But there seemed to
- | ^ This quote has no termination.
-
-
-
Lint: Readability (127 priority)
Message: |
2523 | The judge, by the way, was the King; and as he wore his crown over the wig,
@@ -3608,21 +3509,6 @@ Message: |
-Lint: Formatting (255 priority)
-Message: |
- 2900 | spreading out the verses on his knee, and looking at them with one eye; “I seem
- | ^ This quote has no termination.
- 2901 | to see some meaning in them, after all. “—said I could not swim—” you can’t
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 2902 | swim, can you?” he added, turning to the Knave.
- | ^ This quote has no termination.
-
-
-
Lint: Readability (127 priority)
Message: |
2907 | “All right, so far,” said the King, and he went on muttering over the verses to
diff --git a/harper-core/tests/text/linters/The Great Gatsby.snap.yml b/harper-core/tests/text/linters/The Great Gatsby.snap.yml
index 1dbbc2b0a..ec95a6d4e 100644
--- a/harper-core/tests/text/linters/The Great Gatsby.snap.yml
+++ b/harper-core/tests/text/linters/The Great Gatsby.snap.yml
@@ -504,6 +504,13 @@ Message: |
+Lint: Formatting (255 priority)
+Message: |
+ 392 | “This idea is that we’re Nordics. I am, and you are, and you are, and—” After an
+ | ^ This quote has no termination.
+
+
+
Lint: Style (31 priority)
Message: |
394 | me again. ‘‘—And we’ve produced all the things that go to make civilization—oh,
@@ -514,13 +521,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 395 | science and art, and all that. Do you see?”
- | ^ This quote has no termination.
-
-
-
Lint: Style (127 priority)
Message: |
397 | There was something pathetic in his concentration, as if his complacency, more
@@ -558,7 +558,7 @@ Suggest:
Lint: Formatting (255 priority)
Message: |
452 | “Why—” she said hesitantly, ‘‘Tom’s got some woman in New York.”
- | ^ This quote has no termination.
+ | ^ This quote has no termination.
@@ -5517,21 +5517,6 @@ Message: |
-Lint: Formatting (255 priority)
-Message: |
- 4201 | sometimes”—but there was no laughter in his eyes—“to think that you didn’t
- | ^ This quote has no termination.
- 4202 | know.”
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 4202 | know.”
- | ^ This quote has no termination.
-
-
-
Lint: Spelling (63 priority)
Message: |
4241 | “Not at Kapiolani?” demanded Tom suddenly.
@@ -6130,14 +6115,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 4509 | “One goin’ each way. Well, she”—his hand rose toward the blankets but stopped
- 4510 | half way and fell to his side—“she ran out there an’ the one comin’ from N’York
- | ^ This quote has no termination.
-
-
-
Lint: Miscellaneous (31 priority)
Message: |
4510 | half way and fell to his side—“she ran out there an’ the one comin’ from N’York
@@ -6203,13 +6180,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 4511 | knock right into her, goin’ thirty or forty miles an hour.”
- | ^ This quote has no termination.
-
-
-
Lint: Spelling (63 priority)
Message: |
4523 | “No, but the car passed me down the road, going faster’n forty. Going fifty,
@@ -6379,6 +6349,15 @@ Message: |
+Lint: WordChoice (31 priority)
+Message: |
+ 4820 | “I can’t describe to you how surprised I was to find out I loved her, old sport.
+ | ^~~~~~~~ Use `find` instead of `find out` when you mean to discover something directly.
+Suggest:
+ - Replace with: “find”
+
+
+
Lint: Formatting (63 priority)
Message: |
4822 | was in love with me too. She thought I knew a lot because I knew different
@@ -6754,21 +6733,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 5151 | and walked to the rear window and leaned with his face pressed against it—“and I
- | ^ This quote has no termination.
- 5152 | said ‘God knows what you’ve been doing, everything you’ve been doing. You may
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 5153 | fool me, but you can’t fool God!’”
- | ^ This quote has no termination.
-
-
-
Lint: Spelling (63 priority)
Message: |
5155 | Standing behind him, Michaelis saw with a shock that he was looking at the eyes
@@ -7469,21 +7433,6 @@ Suggest:
-Lint: Formatting (255 priority)
-Message: |
- 5522 | of mine up to Albany. We were so thick like that in everything”—he held up two
- 5523 | bulbous fingers—“always together.”
- | ^ This quote has no termination.
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 5523 | bulbous fingers—“always together.”
- | ^ This quote has no termination.
-
-
-
Lint: Spelling (63 priority)
Message: |
5552 | For a moment I thought he was going to suggest a “gonnegtion,” but he only
@@ -7943,20 +7892,6 @@ Message: |
-Lint: Formatting (255 priority)
-Message: |
- 5727 | “Oh, and do you remember”—she added—“a conversation we had once about driving a
- | ^ This quote has no termination.
-
-
-
-Lint: Formatting (255 priority)
-Message: |
- 5728 | car?”
- | ^ This quote has no termination.
-
-
-
Lint: Readability (127 priority)
Message: |
5743 | One afternoon late in October I saw Tom Buchanan. He was walking ahead of me