Skip to content

Commit bd7e978

Browse files
Switch Vale to the upstream ai-tells package (#2451)
1 parent 3527535 commit bd7e978

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎.pre-commit-config.yaml‎

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

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

‎.vale.ini‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
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.FigurativeLands = NO
12+
ai-tells.FormalTransitions = NO
13+
ai-tells.VerbTricolon = NO

0 commit comments

Comments
 (0)