이전 버전입니다. 현재 최신 버전은 3.25.1입니다. Vale 3.25.1 · 출시일:
설치 파일 v3.2.0
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | ZIP → 포터블 · en-US | — | — | github.com | VirusTotal |
| ARM64 | ZIP → 포터블 · en-US | — | — | github.com | VirusTotal |
| 32비트 | ZIP → 포터블 · en-US | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
Script-based actions
This release introduces the ability to write custom, script-based actions, allowing you to create dynamic solutions to your rules using the Tengo scripting language:
text := import("text")
// `match` is provided by Vale and represents the rule's matched text.
made := text.re_replace(`([A-Z]\w+)([A-Z]\w+)`, match, `$1-$2`)
made = text.replace(made, "-", "_", 1)
made = text.to_lower(made)
suggestions := [made]
prefix for capitalization rules
The capitalization extension point now supports a prefix key, allowing you to specify a constant prefix to ignore when checking the case of a scope:
extends: capitalization
message: "'%s' should be sentence-cased"
level: warning
scope: heading
match: $sentence
# sentence-cased, but allows for a common prefix:
#
# E.g.,
#
# a. This is my heading
prefix: '^[a-z]\.\s'
Changelog
- 1bc77814 feat: support script-based actions (#621)
- c9d24152 feat: allow script-based rules to use local files
- e2ac1dc5 feat: support prefix key in capitalization
- 6ef0894f feat: proto support (#777)
- 3a812b37 feat: add --no-global
- 84b539ec refactor: better install details
- 07828da3 refactor: add CLI help text for host commands
- 3ddc54ae fix: remove duplicate $home prefix