Skip to content

Commit cf25b91

Browse files
committed
Switch Vale to the upstream ai-tells package
1 parent 9c8c932 commit cf25b91

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ repos:
290290

291291
# Vale enforces prose style rules, such as banning em dashes, in
292292
# reStructuredText and Markdown files.
293-
# The rules come from the ``ClearProse`` package pinned in ``.vale.ini``,
293+
# The rules come from the ``ai-tells`` package pinned in ``.vale.ini``,
294294
# which ``vale sync`` downloads into the (gitignored) ``styles``
295295
# directory.
296296
# Vale needs ``rst2html`` from Docutils on the ``PATH`` to parse

.vale.ini

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
StylesPath = styles
22
MinAlertLevel = error
33

4-
Packages = https://github.com/adamtheturtle/vale-style-clear-prose/releases/download/v1.1.0/ClearProse.zip
4+
Packages = https://github.com/tbhb/vale-ai-tells/releases/download/v1.29.0/ai-tells.zip
55

66
[*.{rst,md}]
7-
BasedOnStyles = ClearProse
7+
BasedOnStyles = ai-tells
8+
9+
# These rules misclassify established technical, example, or release-note prose
10+
# in this repository. All other ai-tells rules remain enforced.
11+
ai-tells.ColonUsage = NO
12+
ai-tells.FigurativeLands = NO
13+
ai-tells.FormalTransitions = NO
14+
ai-tells.OverusedVocabularyVerbs = NO
15+
ai-tells.VerbTricolon = NO

0 commit comments

Comments
 (0)