vale/readme.md
2026-04-09 10:13:57 +02:00

26 lines
1 KiB
Markdown

# Vale
![Vale](https://img.shields.io/badge/Vale-45A1FC?style=flat&logo=LanguageTool&logoColor=white) ![Markdown](https://img.shields.io/badge/Markdown-000000?style=flat&logo=Markdown&logoColor=white) ![Shell](https://img.shields.io/badge/zsh-F15A24?style=flat&logo=zsh&logoColor=white) ![YAML](https://img.shields.io/badge/YAML-CB171E?style=flat&logo=YAML&logoColor=white)
My personal Vale package for customized linting rules. External styles can be added as a package to the `.vale.ini` in the root of the project:
```toml
StylesPath = styles
Packages = Google, Readability, write-good, proselint
[*.{adoc,html,md}]
BasedOnStyles = Google, Readability, write-good, proselint
gugulet-hu = YES
```
The repo contents are auto-zipped on every commit to create the package zip. Use the package with this ini config in a project:
```toml
StylesPath = .vale
MinAlertLevel = warning
Packages = https://gugulet.hu/technical/git/g_it/vale/raw/branch/main/gugulet-hu.zip
[*.{adoc,html,md}]
BasedOnStyles = Google, Readability, write-good, proselint
gugulet-hu = YES
```