Files
2026-07-13 13:17:40 +08:00

25 lines
737 B
INI

StylesPath = .vale/styles
Vocab = General, Core, Data, RLlib, Train
MinAlertLevel = suggestion
Packages = Google
[*.rst]
# HACK(@bveeramani): I have no clue why we need to include `(:class:`.*`)` in addition
# to `(:.*:`.*`)`, but we get false positives if we don't. `TokenIgnores` is weird.
TokenIgnores = (:class:`.*`)|(:.*:`.*`)|(`.*`)
[*.{md,rst}]
BasedOnStyles = Vale, Google
# We're disabling "Colons" because we disagree with Google's suggestion to lowercase the
# first word after a colon.
Google.Colons = No
# TODO(@bveeramani): We're temporarily disabling "Heading". In the future, we'll update
# all headings and enable this rule.
Google.Headings = No
# ignore the anchors of headers.
BlockIgnores = (?m)(^\([\w-]+\)=$)