Skip to content

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

Release 0.20.0

Elijah Potterc963a156a27a
diff --git a/Cargo.lock b/Cargo.lock
index 180f73860..45a5d8dd0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -614,7 +614,7 @@ dependencies = [
[[package]]
name = "harper-comments"
-version = "0.19.1"
+version = "0.20.0"
dependencies = [
"harper-core",
"harper-html",
@@ -645,7 +645,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "0.19.1"
+version = "0.20.0"
dependencies = [
"blanket",
"criterion",
@@ -672,7 +672,7 @@ dependencies = [
[[package]]
name = "harper-html"
-version = "0.19.1"
+version = "0.20.0"
dependencies = [
"harper-core",
"harper-tree-sitter",
@@ -683,7 +683,7 @@ dependencies = [
[[package]]
name = "harper-literate-haskell"
-version = "0.19.1"
+version = "0.20.0"
dependencies = [
"harper-comments",
"harper-core",
@@ -694,7 +694,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "0.19.1"
+version = "0.20.0"
dependencies = [
"anyhow",
"clap",
@@ -719,7 +719,7 @@ dependencies = [
[[package]]
name = "harper-tree-sitter"
-version = "0.19.1"
+version = "0.20.0"
dependencies = [
"harper-core",
"tree-sitter",
@@ -727,7 +727,7 @@ dependencies = [
[[package]]
name = "harper-typst"
-version = "0.19.1"
+version = "0.20.0"
dependencies = [
"harper-core",
"itertools 0.14.0",
diff --git a/harper-cli/Cargo.toml b/harper-cli/Cargo.toml
index 15a006d95..49fba1821 100644
--- a/harper-cli/Cargo.toml
+++ b/harper-cli/Cargo.toml
@@ -10,10 +10,10 @@ repository = "https://github.com/automattic/harper"
anyhow = "1.0.95"
ariadne = "0.4.1"
clap = { version = "4.5.28", features = ["derive"] }
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.19.0" }
-harper-core = { path = "../harper-core", version = "0.19.0" }
-harper-comments = { path = "../harper-comments", version = "0.19.0" }
-harper-typst = { path = "../harper-typst", version = "0.19.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.20.0" }
+harper-core = { path = "../harper-core", version = "0.20.0" }
+harper-comments = { path = "../harper-comments", version = "0.20.0" }
+harper-typst = { path = "../harper-typst", version = "0.20.0" }
hashbrown = "0.15.2"
serde = { version = "1.0.214", features = ["derive"] }
serde_json = "1.0.138"
diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.toml
index c82fb0a27..7c0ae346f 100644
--- a/harper-comments/Cargo.toml
+++ b/harper-comments/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-comments"
-version = "0.19.1"
+version = "0.20.0"
edition = "2021"
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 = "0.19.0" }
-harper-html = { path = "../harper-html", version = "0.19.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.19.0" }
+harper-core = { path = "../harper-core", version = "0.20.0" }
+harper-html = { path = "../harper-html", version = "0.20.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.20.0" }
tree-sitter = "0.20.10"
tree-sitter-rust = "0.20.4"
tree-sitter-typescript = "0.20.3"
diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.toml
index bb122e5af..b1ad70156 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "0.19.1"
+version = "0.20.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.toml
index 43fff4ad7..6d5b0ef8b 100644
--- a/harper-html/Cargo.toml
+++ b/harper-html/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-html"
-version = "0.19.1"
+version = "0.20.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.19.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.19.0" }
+harper-core = { path = "../harper-core", version = "0.20.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.20.0" }
tree-sitter-html = "0.19.0"
tree-sitter = "0.20.10"
diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.toml
index 67a5dac5a..2952d3226 100644
--- a/harper-literate-haskell/Cargo.toml
+++ b/harper-literate-haskell/Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "harper-literate-haskell"
-version = "0.19.1"
+version = "0.20.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.19.0" }
-harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.19.0" }
-harper-comments = { path = "../harper-comments", version = "0.19.0" }
+harper-core = { path = "../harper-core", version = "0.20.0" }
+harper-tree-sitter = { path = "../harper-tree-sitter", version = "0.20.0" }
+harper-comments = { path = "../harper-comments", version = "0.20.0" }
itertools = "0.14.0"
paste = "1.0.14"
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index e3defb134..fa1d26192 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "0.19.1"
+version = "0.20.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
@@ -8,11 +8,11 @@ readme = "README.md"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.19.0" }
-harper-core = { path = "../harper-core", version = "0.19.0", features = ["concurrent"] }
-harper-comments = { path = "../harper-comments", version = "0.19.0" }
-harper-typst = { path = "../harper-typst", version = "0.19.0" }
-harper-html = { path = "../harper-html", version = "0.19.0" }
+harper-literate-haskell = { path = "../harper-literate-haskell", version = "0.20.0" }
+harper-core = { path = "../harper-core", version = "0.20.0", features = ["concurrent"] }
+harper-comments = { path = "../harper-comments", version = "0.20.0" }
+harper-typst = { path = "../harper-typst", version = "0.20.0" }
+harper-html = { path = "../harper-html", version = "0.20.0" }
tower-lsp = "0.20.0"
tokio = { version = "1.43.0", features = ["fs", "rt", "rt-multi-thread", "macros", "io-std", "io-util", "net"] }
clap = { version = "4.5.28", features = ["derive"] }
diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.toml
index c91c96238..962b46c88 100644
--- a/harper-tree-sitter/Cargo.toml
+++ b/harper-tree-sitter/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "harper-tree-sitter"
-version = "0.19.1"
+version = "0.20.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.19.0" }
+harper-core = { path = "../harper-core", version = "0.20.0" }
tree-sitter = "0.20.10"
diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.toml
index fbeb5c1fa..30a556ca7 100644
--- a/harper-typst/Cargo.toml
+++ b/harper-typst/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "harper-typst"
-version = "0.19.1"
+version = "0.20.0"
edition = "2021"
description = "The language checker for developers."
license = "Apache-2.0"
repository = "https://github.com/automattic/harper"
[dependencies]
-harper-core = { path = "../harper-core", version = "0.19.0" }
+harper-core = { path = "../harper-core", version = "0.20.0" }
typst-syntax = { version = "0.12.0" }
ordered-float = { version = "4.6.0", features = ["serde"] }
itertools = "0.14.0"
diff --git a/harper-wasm/Cargo.toml b/harper-wasm/Cargo.toml
index ec9bb49bd..cb9ecb9e1 100644
--- a/harper-wasm/Cargo.toml
+++ b/harper-wasm/Cargo.toml
@@ -14,7 +14,7 @@ console_error_panic_hook = "0.1.7"
tracing = "0.1.41"
tracing-wasm = "0.2.1"
wasm-bindgen = "0.2.97"
-harper-core = { path = "../harper-core", version = "0.19.0", features = ["concurrent"] }
+harper-core = { path = "../harper-core", version = "0.20.0", features = ["concurrent"] }
once_cell = "1.20.2"
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.138"
diff --git a/packages/harper.js/package.json b/packages/harper.js/package.json
index 1feef73b9..4875b050a 100644
--- a/packages/harper.js/package.json
+++ b/packages/harper.js/package.json
@@ -1,6 +1,6 @@
{
"name": "harper.js",
- "version": "0.19.1",
+ "version": "0.20.0",
"license": "Apache-2.0",
"author": "Elijah Potter",
"description": "The grammar checker for developers.",
diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.json
index 590d3227e..cba8392b0 100644
--- a/packages/vscode-plugin/package.json
+++ b/packages/vscode-plugin/package.json
@@ -2,7 +2,7 @@
"name": "harper",
"displayName": "Harper",
"description": "The grammar checker for developers",
- "version": "0.19.1",
+ "version": "0.20.0",
"private": true,
"author": "Elijah Potter",
"publisher": "elijah-potter",
@@ -135,6 +135,30 @@
"default": true,
"description": "A rule that looks for incorrect indefinite articles. For example, `this is an mule` would be flagged as incorrect."
},
+ "harper-ls.linters.and_alike": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `and alike`."
+ },
+ "harper-ls.linters.anybody": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `anybody`."
+ },
+ "harper-ls.linters.anyhow": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `anyhow`."
+ },
+ "harper-ls.linters.anywhere": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `anywhere`."
+ },
"harper-ls.linters.apple_names": {
"scope": "resource",
"type": "boolean",
@@ -153,6 +177,30 @@
"default": true,
"description": "When referring to Azure cloud services, make sure to treat them as proper nouns."
},
+ "harper-ls.linters.backplane": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `backplane`."
+ },
+ "harper-ls.linters.bad_rap": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `bad rap`."
+ },
+ "harper-ls.linters.bated_breath": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `bated breath`."
+ },
+ "harper-ls.linters.beck_and_call": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `beck and call`."
+ },
"harper-ls.linters.boring_words": {
"scope": "resource",
"type": "boolean",
@@ -165,12 +213,24 @@
"default": true,
"description": "Forgetting to capitalize personal pronouns, like \"I\" or \"I'm\" is one of the most common errors. This rule helps with that."
},
+ "harper-ls.linters.change_tack": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `change tack`."
+ },
"harper-ls.linters.chinese_communist_party": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "When referring to the political party, make sure to treat them as a proper noun."
},
+ "harper-ls.linters.compound_nouns": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects compound nouns split by a space and suggests merging them when both parts form a valid noun."
+ },
"harper-ls.linters.correct_number_suffix": {
"scope": "resource",
"type": "boolean",
@@ -183,6 +243,18 @@
"default": true,
"description": "The location of currency symbols varies by country. The rule looks for and corrects improper positioning."
},
+ "harper-ls.linters.despite_of": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Corrects the misuse of `despite of` and suggests the proper alternatives `despite` or `in spite of`."
+ },
+ "harper-ls.linters.devops": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `devops`."
+ },
"harper-ls.linters.dot_initialisms": {
"scope": "resource",
"type": "boolean",
@@ -195,30 +267,126 @@
"default": true,
"description": "Make sure you have the correct number of dots in your ellipsis."
},
+ "harper-ls.linters.en_masse": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `en masse`."
+ },
+ "harper-ls.linters.everywhere": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `everywhere`."
+ },
"harper-ls.linters.google_names": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "When referring to Google products and services, make sure to treat them as proper nouns."
},
+ "harper-ls.linters.henceforth": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `henceforth`."
+ },
+ "harper-ls.linters.hereby": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "`Here by` in some contexts should be `hereby`"
+ },
"harper-ls.linters.holidays": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "When referring to holidays, make sure to treat them as a proper noun."
},
+ "harper-ls.linters.however": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `however`."
+ },
+ "harper-ls.linters.human_life": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `human life`."
+ },
+ "harper-ls.linters.hunger_pang": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `hunger pang`."
+ },
+ "harper-ls.linters.insofar": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `insofar`."
+ },
+ "harper-ls.linters.instead": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `instead`."
+ },
+ "harper-ls.linters.intact": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `intact`."
+ },
+ "harper-ls.linters.into": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `into`."
+ },
+ "harper-ls.linters.itself": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `itself`."
+ },
"harper-ls.linters.koreas": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "When referring to the nations, make sure to treat them as a proper noun."
},
+ "harper-ls.linters.let_alone": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `let alone`."
+ },
+ "harper-ls.linters.lets_confusion": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "It's often hard to determine where the subject should go with the word `let`. This rule attempts to find common errors with redundancy and contractions that may lead to confusion for readers."
+ },
+ "harper-ls.linters.likewise": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `likewise`."
+ },
"harper-ls.linters.linking_verbs": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Linking verbs connect nouns to other ideas. Make sure you do not accidentally link words that aren't nouns."
},
+ "harper-ls.linters.lo_and_behold": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Detects the exact phrase `long and behold` and suggests replacing it with the idiomatically correct `lo and behold`"
+ },
"harper-ls.linters.long_sentences": {
"scope": "resource",
"type": "boolean",
@@ -249,23 +417,149 @@
"default": true,
"description": "When referring to Microsoft products and services, make sure to treat them as proper nouns."
},
+ "harper-ls.linters.middleware": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `middleware`."
+ },
+ "harper-ls.linters.misunderstand": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `misunderstand`."
+ },
+ "harper-ls.linters.misunderstood": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `misunderstood`."
+ },
+ "harper-ls.linters.misuse": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `misuse`."
+ },
+ "harper-ls.linters.misused": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `misused`."
+ },
+ "harper-ls.linters.multicore": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `multicore`."
+ },
+ "harper-ls.linters.multimedia": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `multimedia`."
+ },
"harper-ls.linters.multiple_sequential_pronouns": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "When editing work to change point of view (i.e. first-person or third-person) it is common to add pronouns while neglecting to remove old ones. This rule catches cases where you have multiple disparate pronouns in sequence."
},
+ "harper-ls.linters.multithreading": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `multithreading`."
+ },
+ "harper-ls.linters.myself": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `myself`."
+ },
+ "harper-ls.linters.need_help": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `need help`."
+ },
+ "harper-ls.linters.no_longer": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `no longer`."
+ },
+ "harper-ls.linters.no_oxford_comma": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": false,
+ "description": "The Oxford comma is one of the more controversial rules in common use today. Enabling this lint checks that there is no comma before `and`, `or` or `nor` when listing out more than two ideas."
+ },
+ "harper-ls.linters.nobody": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `nobody`."
+ },
+ "harper-ls.linters.nonetheless": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `nonetheless`."
+ },
+ "harper-ls.linters.nothing": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `nothing`."
+ },
+ "harper-ls.linters.notwithstanding": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `notwithstanding`."
+ },
"harper-ls.linters.number_suffix_capitalization": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "You should never capitalize number suffixes."
},
+ "harper-ls.linters.of_course": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `of course`."
+ },
+ "harper-ls.linters.overall": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `overall`."
+ },
+ "harper-ls.linters.overclocking": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `overclocking`."
+ },
+ "harper-ls.linters.overload": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `overload`."
+ },
+ "harper-ls.linters.overnight": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `overnight`."
+ },
"harper-ls.linters.oxford_comma": {
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "The Oxford comma is one of the more controversial rules in common use today. Here, we make sure that we put a comma before `and` when listing out more than two ideas."
+ "description": "The Oxford comma is one of the more controversial rules in common use today. Enabling this lint checks that there is a comma before `and`, `or`, or `nor` when listing out more than two ideas."
},
"harper-ls.linters.plural_conjugate": {
"scope": "resource",
@@ -273,12 +567,36 @@
"default": false,
"description": "Make sure you use the correct conjugation of the verb \"to be\" in plural contexts."
},
+ "harper-ls.linters.possessive_your": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "The possessive version of `you` is more common before nouns."
+ },
+ "harper-ls.linters.postpone": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `postpone`."
+ },
"harper-ls.linters.pronoun_contraction": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Choosing when to contract pronouns is a challenging art. This rule looks for faults."
},
+ "harper-ls.linters.proofread": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `proofread`."
+ },
+ "harper-ls.linters.regardless": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `regardless`."
+ },
"harper-ls.linters.repeated_words": {
"scope": "resource",
"type": "boolean",
@@ -291,12 +609,48 @@
"default": true,
"description": "The opening word of a sentence should almost always be capitalized."
},
+ "harper-ls.linters.sneaking_suspicion": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `sneaking suspicion`."
+ },
+ "harper-ls.linters.somebody": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `somebody`."
+ },
+ "harper-ls.linters.somehow": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `somehow`."
+ },
+ "harper-ls.linters.somewhat_something": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "When describing a single instance of a noun, use `something` rather than `somewhat`."
+ },
+ "harper-ls.linters.somewhere": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `somewhere`."
+ },
"harper-ls.linters.spaces": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Words should be separated by at most one space."
},
+ "harper-ls.linters.special_attention": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `special attention`."
+ },
"harper-ls.linters.spell_check": {
"scope": "resource",
"type": "boolean",
@@ -309,17 +663,53 @@
"default": false,
"description": "Most style guides recommend that you spell out numbers less than ten."
},
+ "harper-ls.linters.supposed_to": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `supposed to`."
+ },
"harper-ls.linters.terminating_conjunctions": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Subordinating conjunctions are words that create a grammatical space for another idea or clause. As such, they should never appear at the end of a clause."
},
+ "harper-ls.linters.than_others": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `than others`."
+ },
+ "harper-ls.linters.that_challenged": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `that challenged`."
+ },
"harper-ls.linters.that_which": {
"scope": "resource",
"type": "boolean",
"default": true,
- "description": "Repeating the word \"that\" twice is often redundant. `That which` is easier to read."
+ "description": "Repeating the word \"that\" is often redundant. The phrase `that which` is easier to read."
+ },
+ "harper-ls.linters.therefore": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `therefore`."
+ },
+ "harper-ls.linters.thereupon": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `thereupon`."
+ },
+ "harper-ls.linters.turn_it_off": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for slight improper modifications to the phrase `turn it off`."
},
"harper-ls.linters.unclosed_quotes": {
"scope": "resource",
@@ -327,17 +717,59 @@
"default": true,
"description": "Quotation marks should always be closed. Unpaired quotation marks are a hallmark of sloppy work."
},
+ "harper-ls.linters.underclock": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `underclock`."
+ },
"harper-ls.linters.united_organizations": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "When referring to national or international organizations, make sure to treat them as a proper noun."
},
+ "harper-ls.linters.upset": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `upset`."
+ },
+ "harper-ls.linters.upward": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `upward`."
+ },
"harper-ls.linters.use_genitive": {
"scope": "resource",
"type": "boolean",
"default": false,
- "description": "Looks situations where the genitive case of \"there\" should be used."
+ "description": "Looks for situations where the genitive case of \"there\" should be used."
+ },
+ "harper-ls.linters.whereas": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "The Whereas rule is designed to identify instances where the phrase `where as` is used in text and suggests replacing it with the single word `whereas`."
+ },
+ "harper-ls.linters.whereupon": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `whereupon`."
+ },
+ "harper-ls.linters.widespread": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `widespread`."
+ },
+ "harper-ls.linters.worldwide": {
+ "scope": "resource",
+ "type": "boolean",
+ "default": true,
+ "description": "Looks for incorrect spacing inside the closed compound `worldwide`."
},
"harper-ls.linters.wrong_quotes": {
"scope": "resource",