Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rules

ASD-STE100 Issue 9 has 53 rules. A program can check a part of them. memelint checks these:

RuleFinding
1.1a word that is not approved, with the approved alternatives, for example commence (use start)
1.2an approved word in a part of speech in which it is not approved. For example, test is a noun, thus “do a test” and not “test it”
1.6a word that is not in the dictionary and not in your word list, for example kubelet. Put the words of your project in memelint.toml, and they are approved
3.5the -ing form of an approved verb, for example starting
4.2a contraction, for example don't
6.3a sentence of more than 25 words

Each rule has a severity: error, warning or off. The exit code is 1 when there is an error. The profile sets the severity of each rule:

ProfileEffect
strict (the default)each finding is an error
basic1.6 and 6.3 are warnings

[rules] changes one rule, and [languages.<name>.rules] changes it for the files of one language. The language value applies first, then [rules], then the profile:

profile = "basic"

[rules]
"4.2" = "off"

[languages.markdown.rules]
"1.6" = "off"

A rule that gives no findings cannot be set. memelint stops with an error message when it reads memelint.toml.