aspect-build / aspect-build/rules_lint

[FR]: Prettier for yaml formatting

Open
#864 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Starlark
Stars
154
Forks
125
Avg merge
3d 21h
Merged PRs (30d)
20

Description

### What is the current behavior?

yamlfmt, the current yamlfmt has some clear issues, such as
https://github.com/google/yamlfmt/issues/185
https://github.com/google/yamlfmt/issues/264
This makes it an unstable formatter.

### Describe the feature

I would like to add prettier as a formatting option for YAML, as it does correct formatting and already supports it https://prettier.io/blog/2018/07/29/1.14.0.html.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing the existing yamlfmt YAML formatter integration and reviewing the linked yamlfmt issues alongside Prettier's YAML support. Done means users can select Prettier as a YAML formatting option and the repository's relevant checks cover it.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.