Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat(vscode-plugin): update `package.json` linters
Matthew Espino9dbbed275c41
diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.jsonindex e273fdff7..18195a460 100644--- a/packages/vscode-plugin/package.json+++ b/packages/vscode-plugin/package.json@@ -75,125 +75,245 @@"type": "string","description": "Optional path to a harper-ls executable to use."},- "harper-ls.linters.spell_check": {+ "harper-ls.diagnosticSeverity": {+ "scope": "resource",+ "type": "string",+ "enum": [+ "error",+ "hint",+ "information",+ "warning"+ ],+ "default": "information",+ "description": "How severe do you want diagnostics to appear in the editor?"+ },+ "harper-ls.linters.amazon_names": {"scope": "resource","type": "boolean","default": true,- "description": "Detect and provide suggestions for misspelled words."+ "description": "When referring to the various products of Amazon.com, make sure to treat them as a proper noun."},- "harper-ls.linters.spelled_numbers": {+ "harper-ls.linters.americas": {"scope": "resource","type": "boolean",- "default": false,- "description": "Detect and fix instances where small numbers should be spelled out."+ "default": true,+ "description": "When referring to the continents, make sure to treat them as a proper noun."},"harper-ls.linters.an_a": {"scope": "resource","type": "boolean","default": true,- "description": "Detect and fix improper articles."+ "description": "A rule that looks for incorrect indefinite articles. For example, `this is an mule` would be flagged as incorrect."},- "harper-ls.linters.sentence_capitalization": {+ "harper-ls.linters.apple_names": {"scope": "resource","type": "boolean","default": true,- "description": "Ensure your sentences are capitalized."+ "description": "When referring to Apple products and services, make sure to treat them as proper nouns."},- "harper-ls.linters.unclosed_quotes": {+ "harper-ls.linters.avoid_curses": {"scope": "resource","type": "boolean","default": true,- "description": "Make sure you close your quotation marks."+ "description": "A rule that looks for common offensive language."},- "harper-ls.linters.wrong_quotes": {+ "harper-ls.linters.azure_names": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "When referring to Azure cloud services, make sure to treat them as proper nouns."+ },+ "harper-ls.linters.boring_words": {"scope": "resource","type": "boolean","default": false,- "description": "Make sure you use the correct unicode characters for your quotation marks."+ "description": "This rule looks for particularly boring or overused words. Using varied language is an easy way to keep a reader's attention."},- "harper-ls.linters.long_sentences": {+ "harper-ls.linters.capitalize_personal_pronouns": {"scope": "resource","type": "boolean","default": true,- "description": "Warn about run-on sentences."+ "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.repeated_words": {+ "harper-ls.linters.chinese_communist_party": {"scope": "resource","type": "boolean","default": true,- "description": "Detect and fix commonly repeated words."+ "description": "When referring to the political party, make sure to treat them as a proper noun."},- "harper-ls.linters.spaces": {+ "harper-ls.linters.correct_number_suffix": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "When making quick edits, it is common for authors to change the value of a number without changing its suffix. This rule looks for these cases, for example: `2st`."+ },+ "harper-ls.linters.currency_placement": {"scope": "resource","type": "boolean","default": true,- "description": "Detect improper spacing between words."+ "description": "The location of currency symbols varies by country. The rule looks for and corrects improper positioning."+ },+ "harper-ls.linters.dot_initialisms": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Ensures common initialisms (like \"i.e.\") are properly dot-separated."+ },+ "harper-ls.linters.ellipsis_length": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Make sure you have the correct number of dots in your ellipsis."+ },+ "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.holidays": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "When referring to holidays, make sure to treat them as a proper noun."+ },+ "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.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.long_sentences": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "This rule looks for run-on sentences, which can make your work harder to grok."},"harper-ls.linters.matcher": {"scope": "resource","type": "boolean","default": true,- "description": "A collection of hand-crafted common grammar mistakes."+ "description": "A collection of curated rules. A catch-all that will be removed in the future."},- "harper-ls.linters.correct_number_suffix": {+ "harper-ls.linters.merge_words": {"scope": "resource","type": "boolean","default": true,- "description": "Make sure you provide the correct suffix for numbers."+ "description": "Accidentally inserting a space inside a word is common. This rule looks for valid words that are split by whitespace."},- "harper-ls.linters.number_suffix_capitalization": {+ "harper-ls.linters.meta_names": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "When referring to Meta products and services, make sure to treat them as proper nouns."+ },+ "harper-ls.linters.microsoft_names": {"scope": "resource","type": "boolean","default": true,- "description": "Make sure you correctly capitalize your number suffixes."+ "description": "When referring to Microsoft products and services, make sure to treat them as proper nouns."},"harper-ls.linters.multiple_sequential_pronouns": {"scope": "resource","type": "boolean","default": true,- "description": "Detect improper sequences of pronouns."+ "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.linking_verbs": {+ "harper-ls.linters.number_suffix_capitalization": {"scope": "resource","type": "boolean","default": true,- "description": "Detect improper use of linking verbs."+ "description": "You should never capitalize number suffixes."},- "harper-ls.linters.avoid_curses": {+ "harper-ls.linters.oxford_comma": {"scope": "resource","type": "boolean","default": true,- "description": "Catch use of curse/swear words."+ "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."+ },+ "harper-ls.linters.plural_conjugate": {+ "scope": "resource",+ "type": "boolean",+ "default": false,+ "description": "Make sure you use the correct conjugation of the verb \"to be\" in plural contexts."+ },+ "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.repeated_words": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "This rule looks for repetitions of words that are not homographs."+ },+ "harper-ls.linters.sentence_capitalization": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "The opening word of a sentence should almost always be capitalized."+ },+ "harper-ls.linters.spaces": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Words should be separated by at most one space."+ },+ "harper-ls.linters.spell_check": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Looks and provides corrections for misspelled words."+ },+ "harper-ls.linters.spelled_numbers": {+ "scope": "resource",+ "type": "boolean",+ "default": false,+ "description": "Most style guides recommend that you spell out numbers less than ten."},"harper-ls.linters.terminating_conjunctions": {"scope": "resource","type": "boolean","default": true,- "description": "Catch improper use of conjuctions to terminate clauses."+ "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.ellipsis_length": {+ "harper-ls.linters.that_which": {"scope": "resource","type": "boolean","default": true,- "description": "Ensure ellipsis are always the correct length. Also useful for catching accidental double periods."+ "description": "Repeating the word \"that\" twice is often redundant. `That which` is easier to read."},- "harper-ls.linters.dot_initialisms": {+ "harper-ls.linters.unclosed_quotes": {"scope": "resource","type": "boolean","default": true,- "description": "Make sure certain initialisms are correctly dot-separated."+ "description": "Quotation marks should always be closed. Unpaired quotation marks are a hallmark of sloppy work."},- "harper-ls.diagnosticSeverity": {+ "harper-ls.linters.united_organizations": {"scope": "resource",- "type": "string",- "enum": [- "error",- "hint",- "information",- "warning"- ],- "default": "information",- "description": "How severe do you want diagnostics to appear in the editor?"+ "type": "boolean",+ "default": true,+ "description": "When referring to national or international organizations, make sure to treat them as a proper noun."+ },+ "harper-ls.linters.use_genitive": {+ "scope": "resource",+ "type": "boolean",+ "default": false,+ "description": "Looks situations where the genitive case of \"there\" should be used."+ },+ "harper-ls.linters.wrong_quotes": {+ "scope": "resource",+ "type": "boolean",+ "default": false,+ "description": "The key on the keyboard often used as a quotation mark is actually a double-apostrophe. Use the correct character."}}}