The example configuration for pre-commit shown in documentation is outdated: it refers to an old revision, 16d3a7f, which is 2+ years old.
When I tried the example configuration locally vale produced errors:
E100 [vocab] Runtime error
'my-vocab' does not exist
Execution stopped with code 1.
I have the following line in my .vale.ini:
and the directory .github/styles/config/vocabularies/my-vocab does exist.
When I updated the revision to a newer commit, e.g. v3.9.5, then the errors went away.
The example configuration for pre-commit shown in documentation is outdated: it refers to an old revision, 16d3a7f, which is 2+ years old.
When I tried the example configuration locally vale produced errors:
I have the following line in my
.vale.ini:and the directory
.github/styles/config/vocabularies/my-vocabdoes exist.When I updated the revision to a newer commit, e.g.
v3.9.5, then the errors went away.