Skip to content
Snippets Groups Projects
Commit af9c49da authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

[vale] Fixed link to docs and added vale sync to pre-commit.

We use a vale plugin for Hugo exceptions and `vale sync` downloads it.
parent 2c4607f9
No related branches found
No related tags found
No related merge requests found
......@@ -34,3 +34,5 @@ CMakeUserPresets.json
# VS Code devcontainer
/.cpm
nohup.out
/Documentation/.vale
......@@ -65,6 +65,6 @@ repos:
files: \.(h|cpp)$
- id: vale
name: Check spelling with vale
entry: bash -c 'if command -v vale &> /dev/null; then VALE_MIN_ALERT_LEVEL=error scripts/ci/helper/run-vale; else exit 0; fi'
entry: bash -c 'if command -v vale &> /dev/null; then vale sync; VALE_MIN_ALERT_LEVEL=error scripts/ci/helper/run-vale; else exit 0; fi'
pass_filenames: false
language: system
# Vale configuration file.
#
# For more information, see https://errata-ai.gitbook.io/vale/getting-started/configuration.
# For more information, see https://vale.sh/docs/topics/config
StylesPath = Documentation/.vale
Vocab = ogs
MinAlertLevel = suggestion
......
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