Skip to content

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

Release 2.0.0

Elijah Potter52f790461475
diff --git a/Cargo.lock b/Cargo.lock
index c3342ccc0..6c985716d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2735,7 +2735,7 @@ dependencies = [
[[package]]
name = "harper-asciidoc"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2746,7 +2746,7 @@ dependencies = [
[[package]]
name = "harper-brill"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-pos-utils",
"serde_json",
@@ -2784,7 +2784,7 @@ dependencies = [
[[package]]
name = "harper-comments"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"harper-html",
@@ -2821,7 +2821,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"ammonia",
"bitflags 2.11.0",
@@ -2860,7 +2860,7 @@ dependencies = [
[[package]]
name = "harper-html"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2871,7 +2871,7 @@ dependencies = [
[[package]]
name = "harper-ink"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2882,7 +2882,7 @@ dependencies = [
[[package]]
name = "harper-jjdescription"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2893,7 +2893,7 @@ dependencies = [
[[package]]
name = "harper-literate-haskell"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-comments",
"harper-core",
@@ -2904,7 +2904,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"anyhow",
"clap",
@@ -2935,7 +2935,7 @@ dependencies = [
[[package]]
name = "harper-pos-utils"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"burn",
"burn-ndarray",
@@ -2953,7 +2953,7 @@ dependencies = [
[[package]]
name = "harper-python"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -2964,7 +2964,7 @@ dependencies = [
[[package]]
name = "harper-stats"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"chrono",
"harper-core",
@@ -2975,7 +2975,7 @@ dependencies = [
[[package]]
name = "harper-tex"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"paste",
@@ -2983,7 +2983,7 @@ dependencies = [
[[package]]
name = "harper-thesaurus"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"hashbrown 0.16.1",
"indexmap",
@@ -2994,7 +2994,7 @@ dependencies = [
[[package]]
name = "harper-tree-sitter"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"tree-sitter",
@@ -3013,7 +3013,7 @@ dependencies = [
[[package]]
name = "harper-typst"
-version = "1.12.0"
+version = "2.0.0"
dependencies = [
"harper-core",
"itertools 0.14.0",
diff --git a/harper-asciidoc/Cargo.toml b/harper-asciidoc/Cargo.toml
index ee2a80ba9..41e2afc2a 100644
--- a/harper-asciidoc/Cargo.toml
+++ b/harper-asciidoc/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-asciidoc"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "2.0.0" }
tree-sitter-asciidoc = "0.6.0"
tree-sitter = "0.25.10"
diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.toml
index 49b283699..0ad109f2a 100644
--- a/harper-brill/Cargo.toml
+++ b/harper-brill/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-brill"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-pos-utils = { path = "../harper-pos-utils/", version = "1.0.0" }
+harper-pos-utils = { path = "../harper-pos-utils/", version = "2.0.0" }
serde_json = "1.0.149"
[build-dependencies]
diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.toml
index 0a1070027..64e5d6d34 100644
--- a/harper-cli/Cargo.toml
+++ b/harper-cli/Cargo.toml
@@ -10,23 +10,23 @@ anyhow = "1.0.102"
ariadne = "0.6.0"
clap = { version = "4.6.0", features = ["derive", "std", "string"], default-features = false }
clap_complete = "4.6.0"
-harper-stats = { path = "../harper-stats", version = "1.0.0" }
+harper-stats = { path = "../harper-stats", version = "2.0.0" }
dirs = "6.0.0"
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "1.0.0" }
-harper-python = { path = "../harper-python", version = "1.0.0" }
-harper-asciidoc = { path = "../harper-asciidoc", version = "1.0.0" }
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-pos-utils = { path = "../harper-pos-utils", version = "1.0.0", features = [] }
-harper-comments = { path = "../harper-comments", version = "1.0.0" }
-harper-tex = { path = "../harper-tex", version = "1.0.0" }
-harper-typst = { path = "../harper-typst", version = "1.0.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "2.0.0" }
+harper-python = { path = "../harper-python", version = "2.0.0" }
+harper-asciidoc = { path = "../harper-asciidoc", version = "2.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-pos-utils = { path = "../harper-pos-utils", version = "2.0.0", features = [] }
+harper-comments = { path = "../harper-comments", version = "2.0.0" }
+harper-tex = { path = "../harper-tex", version = "2.0.0" }
+harper-typst = { path = "../harper-typst", version = "2.0.0" }
hashbrown = "0.16.1"
rayon = "1.11.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
strum = "0.28.0"
strum_macros = "0.28.0"
-harper-ink = { version = "1.0.0", path = "../harper-ink" }
+harper-ink = { version = "2.0.0", path = "../harper-ink" }
enum_dispatch = "0.3.13"
yansi = "1.0.1"
diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.toml
index 94ee35c02..541b1c350 100644
--- a/harper-comments/Cargo.toml
+++ b/harper-comments/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-comments"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -8,9 +8,9 @@ readme = "README.md"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-html = { path = "../harper-html", version = "1.0.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-html = { path = "../harper-html", version = "2.0.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "2.0.0" }
itertools = "0.14.0"
tree-sitter = "0.25.10"
tree-sitter-bash = "0.25.1"
diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.toml
index 34df77e0d..c29a1b69c 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -30,8 +30,8 @@ foldhash = "0.2.0"
strum_macros = "0.28.0"
strum = "0.28.0"
ammonia = "4.1.2"
-harper-brill = { path = "../harper-brill", version = "1.0.0" }
-harper-thesaurus = { path = "../harper-thesaurus", version = "1.4.1", optional = true }
+harper-brill = { path = "../harper-brill", version = "2.0.0" }
+harper-thesaurus = { path = "../harper-thesaurus", version = "2.0.0", optional = true }
bitflags = { version = "2.11.0", features = ["serde"] }
trie-rs = "0.4.2"
zip = { version = "8.5.0", default-features = false, features = ["deflate"] }
diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.toml
index 1336bb74c..91d6c474b 100644
--- a/harper-html/Cargo.toml
+++ b/harper-html/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-html"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "2.0.0" }
tree-sitter-html = "0.23.2"
tree-sitter = "0.25.10"
diff --git a/harper-ink/Cargo.toml b/harper-ink/Cargo.toml
index 9f52deda1..a97fc388a 100644
--- a/harper-ink/Cargo.toml
+++ b/harper-ink/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-ink"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "2.0.0" }
tree-sitter-ink-lbz = "0.0.5"
tree-sitter = "0.25.10"
diff --git a/harper-jjdescription/Cargo.toml b/harper-jjdescription/Cargo.toml
index f27389df7..e107c1c8f 100644
--- a/harper-jjdescription/Cargo.toml
+++ b/harper-jjdescription/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-jjdescription"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "2.0.0" }
tree-sitter-jjdescription = "0.0.1"
tree-sitter = "0.25.10"
diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.toml
index 2fdd81046..b1037b4d1 100644
--- a/harper-literate-haskell/Cargo.toml
+++ b/harper-literate-haskell/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-literate-haskell"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "1.0.0" }
-harper-comments = { path = "../harper-comments", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "2.0.0" }
+harper-comments = { path = "../harper-comments", version = "2.0.0" }
itertools = "0.14.0"
paste = "1.0.14"
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index 92205729b..b1233f98c 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -8,16 +8,16 @@ readme = "README.md"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-stats = { path = "../harper-stats", version = "1.0.0" }
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "1.0.0" }
-harper-core = { path = "../harper-core", version = "1.0.0", features = ["concurrent"] }
-harper-comments = { path = "../harper-comments", version = "1.0.0" }
-harper-jjdescription = { path = "../harper-jjdescription", version = "1.0.0" }
-harper-typst = { path = "../harper-typst", version = "1.0.0" }
-harper-tex = { path = "../harper-tex", version = "1.0.0" }
-harper-html = { path = "../harper-html", version = "1.0.0" }
-harper-python = { path = "../harper-python", version = "1.0.0" }
-harper-asciidoc = { path = "../harper-asciidoc", version = "1.0.0" }
+harper-stats = { path = "../harper-stats", version = "2.0.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "2.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0", features = ["concurrent"] }
+harper-comments = { path = "../harper-comments", version = "2.0.0" }
+harper-jjdescription = { path = "../harper-jjdescription", version = "2.0.0" }
+harper-typst = { path = "../harper-typst", version = "2.0.0" }
+harper-tex = { path = "../harper-tex", version = "2.0.0" }
+harper-html = { path = "../harper-html", version = "2.0.0" }
+harper-python = { path = "../harper-python", version = "2.0.0" }
+harper-asciidoc = { path = "../harper-asciidoc", version = "2.0.0" }
tower-lsp-server = "0.22.1"
tokio = { version = "1.50.0", default-features = false, features = ["fs", "io-std", "io-util", "macros", "net", "rt-multi-thread", "sync"] }
clap = { version = "4.6.0", default-features = false, features = ["derive", "std"] }
@@ -32,7 +32,7 @@ open = "5.3.3"
futures = "0.3.32"
serde = { version = "1.0.228", features = ["derive"] }
globset = "0.4.18"
-harper-ink = { version = "1.0.0", path = "../harper-ink" }
+harper-ink = { version = "2.0.0", path = "../harper-ink" }
[features]
default = []
diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.toml
index c2549c305..a4d090a64 100644
--- a/harper-pos-utils/Cargo.toml
+++ b/harper-pos-utils/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-pos-utils"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-python/Cargo.toml b/harper-python/Cargo.toml
index 631d17e4f..341df584a 100644
--- a/harper-python/Cargo.toml
+++ b/harper-python/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-python"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "2.0.0" }
tree-sitter-python = "0.25.0"
tree-sitter = "0.25.10"
diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.toml
index dab35a081..b1051c4d0 100644
--- a/harper-stats/Cargo.toml
+++ b/harper-stats/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-stats"
-version = "1.12.0"
+version = "2.0.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -9,7 +9,7 @@ repository = "https://github.com/automattic/harper"
[dependencies]
serde = { version = "1.0.228", features = ["derive"] }
-harper-core = { path = "../harper-core", version = "1.0.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "2.0.0", features = ["concurrent"] }
uuid = { version = "1.23.0", features = ["serde", "v4"] }
serde_json = "1.0.149"
chrono = "0.4.44"
diff --git a/harper-tex/Cargo.toml b/harper-tex/Cargo.toml
index a25278406..95b288bee 100644
--- a/harper-tex/Cargo.toml
+++ b/harper-tex/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-tex"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
[dev-dependencies]
paste = "1.0.15"
diff --git a/harper-thesaurus/Cargo.toml b/harper-thesaurus/Cargo.toml
index 6bd466a37..c8e475fca 100644
--- a/harper-thesaurus/Cargo.toml
+++ b/harper-thesaurus/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-thesaurus"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.toml
index 51a36b259..ab1a621cb 100644
--- a/harper-tree-sitter/Cargo.toml
+++ b/harper-tree-sitter/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "harper-tree-sitter"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
tree-sitter = "0.25.10"
diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.toml
index 551c402a0..55c367c85 100644
--- a/harper-typst/Cargo.toml
+++ b/harper-typst/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-typst"
-version = "1.12.0"
+version = "2.0.0"
edition = "2024"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "1.0.0" }
+harper-core = { path = "../harper-core", version = "2.0.0" }
typst-syntax = { version = "0.14.2" }
ordered-float = { version = "5.3.0", features = ["serde"] }
itertools = "0.14.0"
diff --git a/harper-wasm/Cargo.toml b/harper-wasm/Cargo.toml
index 92ad270a1..c4a87b027 100644
--- a/harper-wasm/Cargo.toml
+++ b/harper-wasm/Cargo.toml
@@ -13,14 +13,14 @@ console_error_panic_hook = "0.1.7"
tracing = "0.1.44"
tracing-wasm = "0.2.1"
wasm-bindgen = "0.2.97"
-harper-core = { path = "../harper-core", version = "1.0.0", features = ["concurrent"], default-features = false }
-harper-typst = { path = "../harper-typst", version = "1.0.0", optional = true }
+harper-core = { path = "../harper-core", version = "2.0.0", features = ["concurrent"], default-features = false }
+harper-typst = { path = "../harper-typst", version = "2.0.0", optional = true }
once_cell = "1.21.4"
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.149"
serde = { version = "1.0.228", features = ["derive"] }
getrandom = { version = "0.3.4", default-features = false, features = ["wasm_js"] }
-harper-stats = { path = "../harper-stats", version = "1.0.0", features = ["js"] }
+harper-stats = { path = "../harper-stats", version = "2.0.0", features = ["js"] }
[dev-dependencies]
sysinfo = { version = "0.38.3", default-features = false, features = [ "system" ] }
diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.json
index 843893416..995968735 100644
--- a/packages/chrome-plugin/package.json
+++ b/packages/chrome-plugin/package.json
@@ -1,7 +1,7 @@
{
"name": "chrome-plugin",
"displayName": "chrome-plugin",
- "version": "1.12.0",
+ "version": "2.0.0",
"author": "no one",
"description": "The private grammar checker for 21st Century English",
"type": "module",
diff --git a/packages/harper.js/package.json b/packages/harper.js/package.json
index 7dcd0e092..009623ec3 100644
--- a/packages/harper.js/package.json
+++ b/packages/harper.js/package.json
@@ -1,6 +1,6 @@
{
"name": "harper.js",
- "version": "1.12.0",
+ "version": "2.0.0",
"license": "Apache-2.0",
"author": "Elijah Potter",
"description": "The grammar checker that respects your privacy.",
diff --git a/packages/obsidian-plugin/package.json b/packages/obsidian-plugin/package.json
index ccf63b404..61f8abbec 100644
--- a/packages/obsidian-plugin/package.json
+++ b/packages/obsidian-plugin/package.json
@@ -1,7 +1,7 @@
{
"name": "obsidian-plugin",
"private": true,
- "version": "1.12.0",
+ "version": "2.0.0",
"main": "main.js",
"devDependencies": {
"@playwright/test": "^1.58.0",
diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.json
index a59b3063c..d766f786e 100644
--- a/packages/vscode-plugin/package.json
+++ b/packages/vscode-plugin/package.json
@@ -2,7 +2,7 @@
"name": "harper",
"displayName": "Harper - Grammar / Spell Checking",
"description": "The grammar checker for developers",
- "version": "1.12.0",
+ "version": "2.0.0",
"private": true,
"author": "Elijah Potter",
"publisher": "elijah-potter",
@@ -345,7 +345,7 @@
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Fixes the incorrect phrase `an in` to `and in` for proper conjunction usage."
+ "description": "Fixes the typo `an in` when it stands in for the conjunction `and in`, while avoiding common `in-...` noun phrases and a few attested exceptions."
},
"harper.linters.AndTheLike": {
"scope": "resource",
@@ -419,6 +419,18 @@
"default": true,
"description": "Keeps schedules explicit by preferring the familiar `arrive on Friday` pattern instead of a bare weekday."
},
+ "harper.linters.ArriveTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "A linter skeleton for contributors to copy into `harper_core/src/linting/` and rename."
+ },
+ "harper.linters.AsEvidentBy": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `evident by` to `evidenced by` in passive constructions where `evidence` is used as a verb."
+ },
"harper.linters.AsFarAsIKnow": {
"scope": "resource",
"type": "boolean",
@@ -485,12 +497,36 @@
"default": true,
"description": "Identifies sequences like `ask to us` or `tell to him` and recommends removing the superfluous “to”."
},
+ "harper.linters.AspireTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `aspire for` to `aspire to`."
+ },
+ "harper.linters.AtAllCosts": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `at all cost` to `at all costs`."
+ },
"harper.linters.AtFaceValue": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Corrects `on face value` to the more usual `at face value`."
},
+ "harper.linters.AtLeasToLeast": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes the frequent typo `at leas` when the intended expression is `at least`."
+ },
+ "harper.linters.AtTheBestOfTimes": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `in the best of times` to `at the best of times`."
+ },
"harper.linters.AtTheEndOfTheDay": {
"scope": "resource",
"type": "boolean",
@@ -581,17 +617,41 @@
"default": true,
"description": "Ensures the passive form uses `be allowed` after future negatives."
},
+ "harper.linters.BeBiased": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects incorrect use of 'be + verb' instead of `be + adjective`."
+ },
+ "harper.linters.BeConcerned": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects incorrect use of 'be + verb' instead of `be + adjective`."
+ },
+ "harper.linters.BePrejudiced": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects incorrect use of 'be + verb' instead of `be + adjective`."
+ },
"harper.linters.BeRightBack": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Expands an initialism."
},
+ "harper.linters.BeShocked": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects incorrect use of 'be + verb' instead of `be + adjective`."
+ },
"harper.linters.BeWorried": {
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Detects incorrect use of 'be worry' instead of `be worried`."
+ "description": "Detects incorrect use of 'be + verb' instead of `be + adjective`."
},
"harper.linters.BeckAndCall": {
"scope": "resource",
@@ -635,6 +695,12 @@
"default": true,
"description": "In valedictions, `best` expresses your highest regard—avoid the typo `beat regards`."
},
+ "harper.linters.BetterOffPhrase": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Rewrites `better of` to `better off` in common comparative phrasing."
+ },
"harper.linters.BetterOffWith": {
"scope": "resource",
"type": "boolean",
@@ -659,6 +725,12 @@
"default": true,
"description": "Corrects common errors in the phrase `blanket statement`."
},
+ "harper.linters.BluRayHyphen": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Joins the two-word spelling of the optical disc format into the standard compound form."
+ },
"harper.linters.Bollocks": {
"scope": "resource",
"type": "boolean",
@@ -749,6 +821,12 @@
"default": true,
"description": "Ensures `case-sensitive` is correctly hyphenated."
},
+ "harper.linters.CauseItIsBecause": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Normalizes informal `cause it is` to the standard subordinating form in explanatory clauses."
+ },
"harper.linters.CautionaryTale": {
"scope": "resource",
"type": "boolean",
@@ -797,6 +875,12 @@
"default": true,
"description": "Corrects extraneous apostrophe in `client's side` and `server's side`."
},
+ "harper.linters.ColdModalTypo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Rewrites `cold` to `could` when it appears in common subject-plus-verb modal contexts."
+ },
"harper.linters.CommaFixes": {
"scope": "resource",
"type": "boolean",
@@ -929,6 +1013,12 @@
"default": true,
"description": "Writers often type `--` or `---` expecting their editor to convert them into proper dashes. Replace these sequences with the correct characters: use an en dash (–) for ranges or connections and an em dash (—) for a break in thought."
},
+ "harper.linters.DateBackFrom": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the blend of `date from` and `date back to` into the nonstandard `date back from`."
+ },
"harper.linters.DayAndAge": {
"scope": "resource",
"type": "boolean",
@@ -1067,6 +1157,12 @@
"default": true,
"description": "Ensures common initialisms (like \"i.e.\") are properly dot-separated."
},
+ "harper.linters.DoubleCheckHyphen": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Normalizes the common two-word form `double check` to `double-check`."
+ },
"harper.linters.DoubleClick": {
"scope": "resource",
"type": "boolean",
@@ -1109,12 +1205,24 @@
"default": true,
"description": "Corrects `each and everyone` to `each and every one`."
},
+ "harper.linters.EachOthersPossessive": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Rewrites `each others` to `each other's` when it modifies a following noun phrase."
+ },
"harper.linters.EagleEyed": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Treats the phrase as a compound modifier and replaces the space with a hyphen so it reads like one idea."
},
+ "harper.linters.EasyGoingCompoundAdjective": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Adds a hyphen in `easy going` when it directly describes a following noun."
+ },
"harper.linters.EggYolk": {
"scope": "resource",
"type": "boolean",
@@ -1211,6 +1319,18 @@
"default": true,
"description": "Provides a stronger word choice by replacing `very good` with `excellent` for clarity and emphasis."
},
+ "harper.linters.ExceptOf": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `except of` to `except for` or `exception of`."
+ },
+ "harper.linters.ExitedExcitedContext": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Changes `exited` to `excited` when the sentence indicates enthusiasm or anticipation."
+ },
"harper.linters.ExpandAlloc": {
"scope": "resource",
"type": "boolean",
@@ -1277,6 +1397,12 @@
"default": true,
"description": "Expands the abbreviation `param` to the full word `parameter` for clarity."
},
+ "harper.linters.ExpandPeople": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Expands the abbreviation `ppl` to the full word `people` for clarity."
+ },
"harper.linters.ExpandPointer": {
"scope": "resource",
"type": "boolean",
@@ -1433,6 +1559,18 @@
"default": true,
"description": "Detects when “kid” after “aid”, “starter”, “travel”, or “tool” should be “kit” (a set of supplies)."
},
+ "harper.linters.FirstPersonModifierHyphen": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Adds a hyphen to ordinal-person modifiers when they directly describe a following noun."
+ },
+ "harper.linters.FlauntForFlout": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `flaunt` to `flout` when used with rule-like nouns."
+ },
"harper.linters.FleshOutVsFullFledged": {
"scope": "resource",
"type": "boolean",
@@ -1619,6 +1757,12 @@
"default": true,
"description": "Corrects the eggcorn `half hazard` to `haphazard`, which properly means lacking organization or being random."
},
+ "harper.linters.HaveNegNoAny": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Rewrites `no` to `any` in clauses like `haven't done no X` so the sentence keeps a single clear negation."
+ },
"harper.linters.HavePassed": {
"scope": "resource",
"type": "boolean",
@@ -1889,6 +2033,12 @@
"default": true,
"description": "Detects and corrects a spacing error where `in the` is mistakenly written as `int he`. Proper spacing is essential for readability and grammatical correctness in common phrases."
},
+ "harper.linters.InTimeFromNow": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Checks for redundant use of `in` before [period of time] together with `from now` after it."
+ },
"harper.linters.InflectedVerbAfterTo": {
"scope": "resource",
"type": "boolean",
@@ -1943,12 +2093,24 @@
"default": true,
"description": "Ensures the correct preposition is used with the word `interested` (e.g. `interested in`)."
},
+ "harper.linters.IntroCueCommaBeforeThanks": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Normalizes the common refusal phrase by inserting the missing comma."
+ },
"harper.linters.InvestIn": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "`Invest` is traditionally followed by 'in,' not `into.`"
},
+ "harper.linters.IsBeenAuxSequence": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Rewrites `is been` to a standard perfect-passive form."
+ },
"harper.linters.IsKnownFor": {
"scope": "resource",
"type": "boolean",
@@ -1967,6 +2129,12 @@
"default": true,
"description": "Corrects `it looks like that` to just `it looks like`."
},
+ "harper.linters.ItTimeAuxiliary": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes missing auxiliary usage in `it time to/for ...` patterns by inserting the contraction form."
+ },
"harper.linters.ItsContraction": {
"scope": "resource",
"type": "boolean",
@@ -2051,6 +2219,12 @@
"default": true,
"description": "Flags `kind if` or `sort off` that stand before qualifiers so the filler `of` stays intact."
},
+ "harper.linters.KnowNothingVerb": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes `no` to `know` in common `subject + no nothing` constructions."
+ },
"harper.linters.Koreas": {
"scope": "resource",
"type": "boolean",
@@ -2195,6 +2369,18 @@
"default": true,
"description": "Corrects `look one's nose down` to `look down one's nose`"
},
+ "harper.linters.LookForwardTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `look forward for` to `look forward to`."
+ },
+ "harper.linters.LookInto": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Merges the split preposition when a look-verb is followed by a clause that starts with a question word."
+ },
"harper.linters.LookingForwardTo": {
"scope": "resource",
"type": "boolean",
@@ -2231,6 +2417,12 @@
"default": true,
"description": "Corrects `make senses` to `make sense`."
},
+ "harper.linters.MakeupCompoundNoun": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Finds determiner-led noun phrases where the split spelling appears and closes it."
+ },
"harper.linters.Malaysia": {
"scope": "resource",
"type": "boolean",
@@ -2249,6 +2441,18 @@
"default": true,
"description": "Detects mass nouns used as countable nouns."
},
+ "harper.linters.MeansALotTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects wrong variants of `means a lot for [someone]` to `means a lot to [someone]`."
+ },
+ "harper.linters.Meanwhile": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `meanwhile`."
+ },
"harper.linters.MercedesBenzHyphen": {
"scope": "resource",
"type": "boolean",
@@ -2783,6 +2987,12 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `overnight`."
},
+ "harper.linters.OvertimeCompoundNoun": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Finds job-hours contexts where the split form appears and joins it into the standard compound."
+ },
"harper.linters.OxfordComma": {
"scope": "resource",
"type": "boolean",
@@ -2855,6 +3065,12 @@
"default": true,
"description": "Detects incorrect usage of `peak` or `peek` when the intended word is `pique`, as in the phrase `you've peaked my interest`."
},
+ "harper.linters.PleasRequestVerb": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes the typo `pleas` when it appears as a request cue before common action verbs."
+ },
"harper.linters.PleaseTakeALook": {
"scope": "resource",
"type": "boolean",
@@ -2909,6 +3125,12 @@
"default": true,
"description": "The possessive form of `you` is more likely before nouns."
},
+ "harper.linters.PostItNoteHyphen": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Standardizes the sticky-note product phrase by joining the first two words."
+ },
"harper.linters.Postpone": {
"scope": "resource",
"type": "boolean",
@@ -2921,6 +3143,12 @@
"default": true,
"description": "Corrects `preying mantis` to `praying mantis`, ensuring accurate reference to the insect’s characteristic pose."
},
+ "harper.linters.PrincipleToPrincipalRoleNoun": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes `principle` to `principal` when it appears as an adjective before common role, goal, and priority nouns (for example, `my principle job`)."
+ },
"harper.linters.ProgressiveNeedsBe": {
"scope": "resource",
"type": "boolean",
@@ -3095,6 +3323,12 @@
"default": true,
"description": "Replaces wrong regular inflections of words with their correct irregular forms."
},
+ "harper.linters.RelayOnForRely": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the frequent typo where `relay` is used in place of `rely` in the phrase `relay on`."
+ },
"harper.linters.RepeatedWords": {
"scope": "resource",
"type": "boolean",
@@ -3257,6 +3491,18 @@
"default": true,
"description": "Removes adjacent duplicate inflections of `be`, including contracted forms followed by another `be` verb."
},
+ "harper.linters.SneakPeekPreview": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the common phrase-level confusion where `peak` is used instead of `peek` after `sneak`."
+ },
+ "harper.linters.SneakedSnuck": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Enforces `sneaked` v `snuck` preferences."
+ },
"harper.linters.SneakingSuspicion": {
"scope": "resource",
"type": "boolean",
@@ -3515,6 +3761,12 @@
"default": true,
"description": "Checks for redundant `the` before possessive proper noun such as `The London's population`."
},
+ "harper.linters.TheWhetherWeather": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes the common mix-up where `whether` is used after `the` when the weather noun is intended."
+ },
"harper.linters.TheirToThere": {
"scope": "resource",
"type": "boolean",
@@ -3539,6 +3791,18 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `there`."
},
+ "harper.linters.ThereAfterCompound": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Normalizes split `there after` to the closed form in adverbial contexts."
+ },
+ "harper.linters.ThereMissingIsClause": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Inserts `is` in common subordinate clauses like `if there a ...` where the copula is omitted."
+ },
"harper.linters.ThereToTheir": {
"scope": "resource",
"type": "boolean",
@@ -3587,12 +3851,24 @@
"default": true,
"description": "Corrects `they're` when the intended meaning is `their`."
},
+ "harper.linters.ThieveNoun": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes accidental `thieve` in noun phrases where singular `thief` is intended."
+ },
"harper.linters.ThingThink": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Corrects the typo `thing` when it should be `think`."
},
+ "harper.linters.ThinkKnowOff": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Fixes the common preposition mix-up after verbs like `know` and `think` in phrases such as `know off` and `thought off` when a following token indicates the intended meaning is `of`."
+ },
"harper.linters.ThisTypeOfThing": {
"scope": "resource",
"type": "boolean",
@@ -3617,6 +3893,12 @@
"default": true,
"description": "Normalize `threat` to `threaten` when it is used after modals (or their contractions) because the noun form is being mistaken for a verb."
},
+ "harper.linters.ThriveOn": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `thrive off` and `thrive off of` to `thrive on`."
+ },
"harper.linters.ThrowAway": {
"scope": "resource",
"type": "boolean",
@@ -3701,6 +3983,12 @@
"default": true,
"description": "Fixes incorrect use of `to worried about`."
},
+ "harper.linters.TomorrowPossessiveModifier": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Flags `tomorrows` in attributive contexts and suggests the possessive form instead."
+ },
"harper.linters.TongueInCheek": {
"scope": "resource",
"type": "boolean",
@@ -3749,6 +4037,12 @@
"default": true,
"description": "Corrects `try one's hands at` to `try one's hand at`."
},
+ "harper.linters.TryOnesLuck": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `try out one’s luck` to `try one’s luck`"
+ },
"harper.linters.TuffEnough": {
"scope": "resource",
"type": "boolean",
@@ -3815,18 +4109,36 @@
"default": true,
"description": "Looks for incorrect spacing inside the closed compound `upward`."
},
+ "harper.linters.UseEllipsisCharacter": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Replaces three-period ellipses with the single Unicode ellipsis character."
+ },
"harper.linters.UseTitleCase": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Prompts you to use title case in relevant headings."
},
+ "harper.linters.UseToUsedTo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `use to` to `used to` when meaning accustomed to (after forms of `be` or `get`)."
+ },
"harper.linters.VerbToAdjective": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Looks for article-led gerund noun phrases like `a fully accounting of`, where an adjective is more likely than an adverb."
},
+ "harper.linters.VerseAsVerb": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the nonstandard use of `verse` as a verb (from `versus`) to standard alternatives."
+ },
"harper.linters.VeryKnown": {
"scope": "resource",
"type": "boolean",
@@ -3881,6 +4193,12 @@
"default": true,
"description": "Ensures `was aloud` and `were aloud` are corrected to `was allowed` or `were allowed` when referring to permission."
},
+ "harper.linters.WasComprisedOf": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Rewrites the fixed phrase `was comprised of` to a more widely accepted form."
+ },
"harper.linters.WaveFunction": {
"scope": "resource",
"type": "boolean",
@@ -3893,6 +4211,12 @@
"default": true,
"description": "Replaces the preposition `to` with the adverb `too` after `way` when followed by an adjective (e.g. `way too fast`)"
},
+ "harper.linters.WebScraping": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `scrapping` the web to `scraping`."
+ },
"harper.linters.WellBeing": {
"scope": "resource",
"type": "boolean",
@@ -3911,6 +4235,12 @@
"default": true,
"description": "Flags `highly-kept` and recommends `well-kept` as an alternative."
},
+ "harper.linters.WereWhere": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects mixing up `were` and `where`."
+ },
"harper.linters.Whereas": {
"scope": "resource",
"type": "boolean",
@@ -3959,6 +4289,12 @@
"default": true,
"description": "Incorrect verb form: `will` should be followed by the base form `contain`."
},
+ "harper.linters.WillNonLemma": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Flags wrong verb forms after `will` or `shall`"
+ },
"harper.linters.WinPrize": {
"scope": "resource",
"type": "boolean",
@@ -3983,6 +4319,12 @@
"default": true,
"description": "When writers accidentally type `without out`, Harper can collapse the two words back into the single preposition."
},
+ "harper.linters.WokVerbTypo": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Flags likely typo cases where `wok` appears where the verb `work` is expected."
+ },
"harper.linters.WordPressDotcom": {
"scope": "resource",
"type": "boolean",
@@ -4013,6 +4355,12 @@
"default": true,
"description": "Corrects `worth to` + a verb to `worth` + the gerund of the verb."
},
+ "harper.linters.Worthwhile": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `worthwhile`."
+ },
"harper.linters.WouldNeverHave": {
"scope": "resource",
"type": "boolean",
@@ -4055,11 +4403,23 @@
"default": true,
"description": "Corrects `yeh` to `yeah`."
},
+ "harper.linters.YourOutClauseAgreement": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects `your` when it appears where a subject-plus-verb contraction is intended before `out` and a following preposition."
+ },
"harper.linters.YourPredicateAdjective": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Catches cases where a predicate adjective follows `your`, `yr`, `ur`, or `ya` and suggests the proper contraction so the sentence states how someone is feeling or behaving."
+ },
+ "harper.linters.Yourself": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `yourself`, while skipping hyphenated `self-...` compounds."
}
}
}