Expand description
Frameworks and rules that locate errors in text.
See the Linter
trait and the documentation for authoring a rule for more information.
Structs§
- APart
- Addicting
- Adjective
Double Degree - Adjective
OfA - Detect sequences of words of the form “adjective of a”.
- AllIntents
AndPurposes - AmIn
TheMorning - Amounts
For - AnA
- Another
Thing Coming - Both
another thing coming
andanother think coming
are correct, butanother think coming
is more common. - Another
Think Coming - Both
another thing coming
andanother think coming
are correct, butanother think coming
is the original. - AskNo
Preposition - Avoid
Curses - Back
InThe Day - Best
OfAll Time - Boring
Words - Cant
- Capitalize
Personal Pronouns - A linter that makes sure you capitalize “I” and its contractions.
- Chock
Full - Comma
Fixes - A linter that fixes common comma errors: No space after. Inappropriate space before. Asian commas instead of English commas. This linter only Asian commas anywhere, and wrong spacing of commas between words. Commas between numbers are used differently in different contexts and these are not checked: Lists of numbers: 1, 2, 3 Thousands separators: 1,000,000 Decimal points used mistakenly by Europeans: 3,14159
- Compound
Nouns - Confident
- Correct
Number Suffix - Detect incorrect number suffix (e.g. “2st”).
- Criteria
Phenomena - Linter that checks if ‘criteria’ or ‘phenomena’ is used as singular.
- Currency
Placement - Dashes
- Despite
Of - Discourse
Markers - DotInitialisms
- Double
Modal - Ellipsis
Length - A linter that checks that an ellipsis doesn’t contain too many periods (or too few).
- Everyday
- Expand
Memory Shorthands - Expand
Time Shorthands - Feel
Fell - FewUnits
OfTime Ago - Filler
Words - ForNoun
- Friend
OfMe - Have
Pronoun - Have
TakeA Look - Hedging
- A linter that detects hedging language.
- Hereby
- HopHope
- HowTo
- Hyphenate
Number Day - IAmAgreement
- InOn
TheCards - Inflected
Verb After To - Initialism
Linter - A struct that can be composed to expand initialisms, respecting the capitalization of each item.
- Interested
In - ItLooks
Like That - ItsContraction
- ItsPossessive
- Left
Right Hand - Less
Worse - Lets
Confusion - Likewise
- Lint
- An error found in text.
- Lint
Group - A struct for collecting the output of a number of individual Linters.
Each child can be toggled via the public, mutable
Self::config
object. - Lint
Group Config - The configuration for a
LintGroup
. Each child linter can be enabled, disabled, or set to a curated value. - Long
Sentences - Detect and warn that the sentence is too long.
- Looking
Forward To - MapPhrase
Linter - MapPhrase
SetLinter - Mass
Plurals - Merge
Words - Missing
Preposition - Missing
To - Mixed
Bag - ModalOf
- Months
- Most
Number - Multiple
Sequential Pronouns - Linter that checks if multiple pronouns are being used right after each other. This is a common mistake to make during the revision process.
- Nail
OnThe Head - NoFrench
Spaces - NoMatch
For - NoOxford
Comma - Nobody
- Noun
Countability - Noun
Verb Confusion - Number
Suffix Capitalization - Detect incorrect capitalization for number suffixes (e.g. “2ND”).
- OfCourse
- OnFloor
- OneAnd
TheSame - Open
TheLight - Ought
ToBe - Detects the eggcorn
out to be
when the intended phrase isought to be
. - OutOf
Date - Oxford
Comma - Oxymorons
- A linter that flags oxymoronic phrases.
- Phrasal
Verb AsCompound Noun - Detect phrasal verbs written as compound nouns.
- Pique
Interest - Possessive
Noun - Possessive
Your - Progressive
Needs Be - Pronoun
Contraction - Pronoun
Inflection Be - Quantifier
Needs Of - Flags phrases like
a couple months
→ should bea couple **of** months
. - Quite
Quiet - Quote
Spacing - Redundant
Additive Adverbs - Regionalisms
- Repeated
Words - Save
ToSafe - Semicolon
Apostrophe - Sentence
Capitalization - Shoot
Oneself InThe Foot - Simple
Past ToPast Participle - Corrects simple past tense verbs to past participle after auxiliary verbs like “have” or “be”.
- Since
Duration - Somewhat
Something - Sought
After - Spaces
- Spell
Check - Spelled
Numbers - Linter that checks to make sure small integers (< 10) are spelled out.
- Take
Serious - Linter that corrects “take X serious” to “take X seriously”.
- That
Than - That
Which - TheHow
Why - Suggests removing
the
when followed by how/why/who/when/what, skipping cases likehow to
andwho's who
. - TheMy
- Then
Than - Corrects the misuse of
then
tothan
. - Thing
Think - Corrects the typo “thing” for “think”.
- Though
Thought - Throw
Rubbish - ToTwo
Too - Touristic
- Unclosed
Quotes - Update
Place Names - UseGenitive
- Very
Unique - WasAloud
- WayToo
Adjective - Whereas
- Widely
Accepted - WinPrize
- Word
Press Dotcom - Make sure you properly capitalize
WordPress.com
. - Would
Never Have
Enums§
- Lint
Kind - The general category a
Lint
falls into. There’s no reason not to add a new item here if you are adding a new rule that doesn’t fit the existing categories. - Suggestion
- A suggested edit that could resolve a
Lint
.
Traits§
- Expr
Linter - A trait that searches for tokens that fulfil
Expr
s in aDocument
. - Html
Description Linter - A blanket-implemented trait that renders the Markdown description field of a linter to HTML.
- Linter
- A stateless rule that searches documents for grammatical errors.