← Back to issue list

Lint yaml files with prettier

View original Github issue

Metadata

Project
rockcraft
Number
#791
Type
issue
State
closed
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Replaced yamllint with Prettier for YAML linting and formatting through merged PR canonical/rockcraft#794.

Resolution: closed resolved

Reason: Merged PR canonical/rockcraft#794 replaced yamllint with Prettier for YAML linting and formatting, directly implementing the request.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Use starbase's code to lint yaml files with prettier (instead of yamllint) ### Why it needs to get done .

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Replaced yamllint with Prettier for YAML linting and formatting through merged PR canonical/rockcraft#794.
stealth/space-bunny-alpha — closed resolved Replaced yamllint with Prettier for YAML linting and formatting via merged PR canonical/rockcraft#794, resolving #791.
stealth/space-bunny-alpha — closed resolved Replaced yamllint with Prettier for YAML linting and formatting through merged PR canonical/rockcraft#794.
stealth/space-bunny-alpha — closed resolved Replaced yamllint with Prettier for YAML linting and formatting in merged PR canonical/rockcraft#794, resolving the request.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to replace yamllint with prettier was superseded by an internal Jira ticket (CRAFT-3977) via automated sync. No code changes were merged.
qwen/qwen3.6-35b-a3b — — Closed without implementation. Superseded by internal Jira ticket CRAFT-3977. No code changes or pull requests were created to replace yamllint with prettier for YAML linting.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to replace yamllint with prettier for YAML linting was not resolved or merged, indicating the task was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — The request to replace yamllint with prettier for YAML linting was abandoned and closed without implementation. No technical resolution or pull request was provided, only a Jira sync notification.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/rockcraft#794 (confidence 99%)

    Merged pull request implementing the requested YAML linting change.

Related issues

Issue Project State Summary Similarity
#273 Replace `yamllint` with `prettier` starbase closed Resolved by merged PR #305 (commit 68d8d79), replacing yamllint with Prettier for YAML, JSON/JSON5, Markdown and CSS; TOML was excluded due to prettier/prettier#15141.
81%
#305 style: replace yamllint with prettier starbase merged Merged PR canonical/starbase#305 (commit 68d8d79, CRAFT-3626) swapped yamllint for Prettier in pre-commit and common.mk, covering YAML, JSON, JSON5, CSS and Markdown; TOML excluded pending prettier/prettier#15141. Closes #273.
79%
#2265 chore: migrate from yamllint to prettier charmcraft merged Merged as commit 0e124cfd: pre-commit yamllint hook dropped and Prettier (3.6.0) added for yaml/yml/json/md formatting, ported from starbase; 22 files re-formatted.
77%
#794 style: replace yamllint with prettier rockcraft merged Merged #794, replacing yamllint with Prettier and reformatting 95 files; it fixed #791. The change was ported from starbase#305 and generated with make format-prettier.
75%
#362 chore: remove unused yamllint dependency starbase merged Merged #362 in commit 8e2c469, removing the unused yamllint dependency from three files after YAML linting had moved to Prettier.
71%