chore(deps): update dependency errata-ai/vale to v3 #116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.30.0
->3.9.1
Release Notes
errata-ai/vale (errata-ai/vale)
v3.9.1
Compare Source
Changelog
87c916b
fix: support overridingMinAlertLevel
4eca3a6
fix: improveVale.Repetition
(https://github.com/errata-ai/vale/issues/865)8765609
fix: check if we need to load a rule before tryingv3.9.0
Compare Source
This release introduces two new use cases for comment-based configuration.
1. Switching styles associated with a block
Individual styles can now be turned on or off:
Styles can now be set (enabling them and switching off any other styles):
2. Ignoring individual matches
You can now choose to ignore individual matches instead of the entire rule or style:
New sponsor
Finally, a thank you to Vale's newest sponsor: Spectro Cloud. Support like this makes a huge difference in my ability to continue to support and develop Vale.
If you (or your company) would like to help, please consider contributing through GitHub Sponsors or Open Collective.
Changelog
57180ee
feat: add comment syntax for ignoring individual matches (#844)e6eec99
feat: add comment syntax for switching styles (#772)0ded95c
test: add MDX cased515f69
chore: bump Go versionv3.8.0
Compare Source
Changelog
b6df01b
feat: Allow users to override comment delimiters (#900)b05b065
refactor: improve action-related error messagesf545fe2
fix: Add support for multi platform image builds in docker (#897)v3.7.1
Compare Source
Changelog
e7268ac
fix: wrong message in cases with no index (#887)871dafd
fix: add Julia parser (#881)2348d3a
fix: don't applyignorecase
tomatchToken
(#873)v3.7.0
Compare Source
Capture group support
This release introduces support for referencing capture groups in
substitution
-based rules:The
$1
will be replaced by the contents captured within(.*)
in the regular expression. You can reference multiple capture groups by incrementing the index (such as$2
for a second one, etc.).Action results now populate the
message
keyThe results of your custom actions will now be inserted into the relevant rule's
message
key, allowing you to create dynamic, script-based suggestions using the CLI.Changelog
fea611f
refactor: display action results inmessage
(https://github.com/errata-ai/vale/issues/851)7f2c55e
feat: add capture group support tosubstitution
(https://github.com/errata-ai/vale/issues/612)906c544
refactor: support capture groups insubstitution
42a341e
fix: handle conatenating nested lists157b755
chore: fix version in .goreleaser.yml (https://github.com/errata-ai/vale/issues/868)v3.6.1
Compare Source
Changelog
3c73133
golangci lint (#822)2bc26fc
fix: sort commands before printingf7cbb57
refactor: error on misplaced core-level settingsa1543c4
Fix broken link in README.md (#853)78cb06d
chore:cinst
->choco install
08a5471
fix: check fortoken.Skip
before re-orderv3.6.0
Compare Source
Changelog
ea54364
feat: support exceptions inRepetition
(https://github.com/errata-ai/vale/issues/826)v3.5.0
Compare Source
This release includes improved, tree-sitter powered support for linting comments in Go, Rust, Python, Ruby, C/C++, JavaScript, TypeScript, YAML, and CSS files.
Changelog
a484bbe
feat: tree-sitter powered fragments31b5975
refactor: move comment processing to tree-sitter26ece6e
existence rule skips match in RST (#831)v3.4.2
Compare Source
Changelog
abcac76
Fix substitution rule parsing (#813)v3.4.1
Compare Source
Changelog
48a1d9d
fix: fallback to default config when syncing (#798)b1de4bf
fix: only match case forignorecase: true
(#802)v3.4.0
Compare Source
This release adds support for including the observed count of
occurrence
-based rules:The use of
%s
is optional.Changelog
58ef6a7
chore: fix Appveyoreba2813
feat: support displaying the count ofoccurrence
24c6dbe
fix: take first non-code match in occurance rulesv3.3.1
Compare Source
Changelog
7ec81b7
refactor: usepterm.Fuzzy
instead ofGray
(#796)f001170
refactor: clean up sync progress bar02a4430
docs: fix typos (#794)v3.3.0
Compare Source
This release adds support for including the expected form in the
message
field ofcapitalization
-based rules:As with
substitution
, the second%s
is optional.Changelog
a9dc9e6
fix: ensureStylesPath
is created withsync
(https://github.com/errata-ai/vale/issues/788)e688310
feat: support showing expected case inmessage
d198f7d
chore: update twine to v0.10.1 (https://github.com/errata-ai/vale/issues/786)v3.2.2
Compare Source
Changelog
7d65b44
fix: useutf8.RuneCountInString
for offsets (https://github.com/errata-ai/vale/issues/785#issuecomment-1979502308)b889aad
fix: ensuregetNativeConfig
is consistent (#780)v3.2.1
Compare Source
Changelog
774a361
chore: bump twine to v0.10.0 (https://github.com/errata-ai/vale/issues/742)cbc6e2d
refactor: use actual path for assigned formats92d50d4
chore: bump Docker to golang:1.21v3.2.0
Compare Source
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:
prefix
forcapitalization
rulesThe
capitalization
extension point now supports aprefix
key, allowing you to specify a constant prefix to ignore when checking the case of a scope:Changelog
1bc7781
feat: support script-based actions (#621)c9d2415
feat: allowscript
-based rules to use local filese2ac1dc
feat: supportprefix
key incapitalization
6ef0894
feat: proto support (#777)3a812b3
feat: add--no-global
84b539e
refactor: better install details07828da
refactor: add CLI help text for host commands3ddc54a
fix: remove duplicate $home prefixv3.1.0
Compare Source
Vale now has support for a
VALE_STYLES_PATH
environment variable to set the defaultStylesPath
. You can also use the newvale ls-vars
command to inspect the supported environment variables from the command line.Changelog
9c7238d
feat: addls-vars
command2139c41
feat: add support forVALE_STYLES_PATH
(#755)f0041a5
docs: update contributing instructions (#767)v3.0.7
Compare Source
Changelog
d9d5119
refactor: "Location" -> "Default Location"0f936aa
chore: pterm requires Go v1.2128132f7
chore: upgrade pterm27fa9a0
fix: handlesync
with relative--config
v3.0.6
Compare Source
Changelog
b58b8b8
fix: remove-q
from asciidoctor args (#759)a45cc80
feat: support fragments in.ps1
and.jl
files (#736)v3.0.5
Compare Source
Changelog
08b2c42
refactor: don't loadVale
if it's not needed5e502a0
fix: ensureapplyPatterns
respectsformats
(#754)v3.0.4
Compare Source
Changelog
341348c
fix: better support for phrases in vocabularies (#726)37dcbc5
fix: use file paths when applying ignore patterns (#732)v3.0.3
Compare Source
See v3.0.0 for more detailed release notes.
Changelog
3c13689
fix: don't error on missing default files (https://github.com/errata-ai/vale-action/issues/114)v3.0.2
Compare Source
See v3.0.0 for more detailed release notes.
Changelog
e00ffbd
refactor: better error message for default stylesv3.0.1
Compare Source
See v3.0.0 for more detailed release notes.
Changelog
d77b95b
test: add more package cases1a565fe
fix: respect alternative ways to set a base (#750)2a4450f
test: add more source testsv3.0.0
Compare Source
The third major release of Vale introduces an updated
StylesPath
layout and support for a default configuration.Updated
StylesPath
The
StylesPath
now has a specialconfig
directory:dictionaries
: Hunspell-compatible dictionaries to be loaded byVale.Spelling
. This offers an alternative means of customizing the spell-checking experience in Vale: instead of creating a new rule (e.g.,YourStyle.Spelling
), you extend the built-inVale.Spelling
with custom dictionaries. This will have the benefit of allowing multiple styles to all contribute to the samespelling
rule (#628).templates
: Output templates.ignore
: Ignore files to be loaded byVale.Spelling
.vocabularies
: The same as the currentVocab
folder; moved to match the new global configuration directories.All of these directories will support being distributed as part of a package.
Default
StylesPath
+.vale.ini
Vale now supports a default
StylesPath
and a default.vale.ini
file. See thevale ls-dirs
command for the exact locations on your system.The default
.vale.ini
file is loaded in addition to any other config files -- allowing for local changes to project configurations.Breaking changes
When upgrading to v3.0.0, you'll need to move your vocabularies from
$StylesPath/Vocab
to$StylesPath/config/vocabularies
.Changelog
48763c6
refactor: use xdg lib for config and styles3095655
refactor: makesync
root-relative61bbee7
feat: sync with multiple config fileseb63940
feat: defaultStylesPath
8919342
feat: fallback to global when no config is founda61c1d2
fix: handle relative StylePaths29a4450
fix: ensure all matching sections are applied4e7d95c
refactor: load default config lastc5e8345
feat: add default configecfe037
feat:sync
supports newconfig
dir5bdb7f9
fix:NOSUGGEST
may be more than 1 char2c68f5c
fix: ensure meta characters are escaped83d4d9e
test: add case for vocabe40b0f5
refactor: newconfig/ignore
directoryceaf267
refactor: load files fromconfig/dictionaries
4ec4c80
feat: newStylesPath/config
directoryConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.