biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
https://biomejs.dev
Apache License 2.0
13.94k stars 421 forks source link

☂️ YAML support #2365

Open ematipico opened 5 months ago

ematipico commented 5 months ago

Description

Some members of our community expressed interest in developing YAML support inside Biome.

This umbrella issue is meant to track its progress and coordination among the members who want to help to see this coming to fruition.

Core tasks to implement:

[!IMPORTANT] This feature won't be developed by core contributors, but it will be implemented by volunteers

Upvote & Fund

Fund with Polar

castarco commented 5 months ago

I'd like to work on this one.

I'll probably prioritize the "readonly" operations (detecting problems) over formatting and autofixes, though (I'll implement more than one "validation" rule before jumping into the formatter).

Netail commented 5 months ago

As mentioned in Discord; I could give it a try and help a tiny bit as I am new to Rust. Wouldn't necessarily assign me, but will try to help here and there.

ematipico commented 5 months ago

This page should provide some introduction on how to create a parser inside Biome: https://github.com/biomejs/biome/blob/main/crates/biome_parser/CONTRIBUTING.md

defnot001 commented 4 months ago

Hey, I would like to try and work on this too as pointed out in discord! 😃

castarco commented 4 months ago

For reference, the "real time" discussion is happening here: https://discord.com/channels/1132231889290285117/1226946071196991569

dyc3 commented 2 months ago

I've opened a PR with a more comprehensive yaml grammar that should unblock creating a lexer: #3400

dyc3 commented 1 month ago

I also took a stab at a lexer in #3430