Skip to content
Snippets Groups Projects
Verified Commit 9a34c8e7 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

rework vale ignore rules, and add some rationale

parent c39c2c8a
No related branches found
No related tags found
1 merge request!46Feature/update documentation
......@@ -9,14 +9,24 @@ Packages = proselint, Microsoft
[*.{md,py}]
; We only lint .md and .py files
BasedOnStyles = Vale, proselint, Microsoft
; Some headers are generated and we have no real influence over them
Microsoft.Headings = NO
; Found to be too intrusive
Microsoft.Passive = NO
; We are not a general audience
Microsoft.GeneralURL = NO
; It's okay to leave TODOs in the code, that's what they're for
proselint.Annotations = NO
; Replacing a ... with … shouldn't be holding back the entire CI pipeline
proselint.Typography = warning
; Same applies for not using contractions
Microsoft.Contractions = warning
TokenIgnores = (?:{term}`\S+`)
TokenIgnores = ({term}), (:param \S+:), (:type \S+:)
[*/glossary.md]
; Ignore acronyms being undefined in the file that defines all acronyms by definition.
Microsoft.Acronyms = NO
[formats]
; Ignore inline comments in source code, as these do not show up in generated documentation.
py = rst
py = md
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment