Skip to content

Commit 5b59b41

Browse files
ECG Bottmeijn
authored andcommitted
build(deps): update errata-ai/vale to v3.12.0
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [errata-ai/vale](https://github.com/errata-ai/vale) | minor | `v3.11.2` -> `v3.12.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>errata-ai/vale (errata-ai/vale)</summary> ### [`v3.12.0`](https://github.com/errata-ai/vale/releases/tag/v3.12.0) [Compare Source](vale-cli/vale@v3.11.2...v3.12.0) #### 🚀 New Feature: *Views* – Targeted Linting for Structured (YAML, JSON, TOML) and Source Code Files We’re introducing [Views](https://vale.sh/docs/views), a new way to define custom, structured representations of your files—giving you fine-grained control over what gets linted and how. Views allow you to extract specific content from structured data (like YAML, JSON, or TOML) and source code and apply scoped linting rules to just those sections. ##### 🔍 What’s a View? A View is a user-defined configuration that transforms a file into a set of named [scopes](https://vale.sh/docs/scopes). This enables you to lint only relevant parts of a file—such as metadata descriptions, comments, or docstrings—without affecting the rest. Here's an example using an OpenAPI file: ```yaml openapi: 3.0.0 info: title: sample API description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML. version: 0.1.9 servers: - url: http://api.example.com/v1 description: Optional server description, e.g. Main (production) serrver - url: http://staging-api.example.com description: | Optional server description, e.g. Internal staging serrver for testing - url: http://api.example.com/v2 description: Optional server description, e.g. Main (production) serrver ``` And here's a View that extracts `title`, `description`, and each server's `description`: ```yaml ### config/views/OpenAPI.yml engine: dasel scopes: - name: title expr: info.title - expr: info.description type: md - expr: servers.all().description type: md ``` `type: md` indicates that the `description` values are formatted are Markdown. We enable this be using the `View` key in our `.vale.ini`: ```ini StylesPath = ../../styles MinAlertLevel = suggestion [API.yml] BasedOnStyles = Vale View = OpenAPI ``` See the [documentation](https://vale.sh/docs/views) for more information. #### Changelog - [`44c18b3`](vale-cli/vale@44c18b3d) test: add more cases - [`8ab88af`](vale-cli/vale@8ab88af5) refactor: blueprint -> view - [`3a996da`](vale-cli/vale@3a996da2) fix: remove erroneous "+1" - [`fdaa335`](vale-cli/vale@fdaa3356) chore(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 ([#&#8203;996](vale-cli/vale#996)) </details> --- ### Configuration 📅 **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 MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
1 parent 6f80178 commit 5b59b41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chezmoi/dot_config/aquaproj-aqua/aqua.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ packages:
313313
- name: achristmascarl/rainfrog@v0.3.2
314314
description: a database management tui for postgres
315315
link: https://github.com/achristmascarl/rainfrog
316-
- name: errata-ai/vale@v3.11.2
316+
- name: errata-ai/vale@v3.12.0
317317
description: A syntax-aware linter for prose built with speed and extensibility in mind
318318
link: https://github.com/errata-ai/vale
319319
- name: quantumsheep/sshs@4.7.2

0 commit comments

Comments
 (0)