Interest in an official @eslint/yaml plugin? #20482
-
|
Hey everyone, I've been following ESLint's expansion into other languages (JSON, Markdown, CSS, and now HTML) and noticed that YAML was mentioned alongside CSS as one of the most requested languages in the 2024 community poll. CSS got official support earlier this year, but YAML seems to still be waiting. I work with a lot of YAML daily (GitHub Actions, Kubernetes, Docker Compose, etc.) and currently use eslint-plugin-yml by @ota-meshi, which works great. But I was wondering if there's any interest from the team in having an official @eslint/yaml plugin that follows the same patterns as the other language plugins. If so, I'd be interested in working on it. I've been digging into the ESLint codebase recently (working on an RFC for the suppressions fix behavior) and I'm familiar with how the language plugins are structured. A few questions:
Happy to help either way, just wanted to check if this is on the radar before diving in. cc @nzakas @mdjermanovic @fasttime Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
We discussed creating a YAML language plugin during the 2024-05-09 TSC meeting but were preceded by the community in doing so. https://github.com/43081j/eslint-yaml is another user-maintained plugin for YAML. My personal preference would still be to have a team-maintained plugin, at least to establish a reference implementation of the language, but as you can imagine, other priorities have taken precedence. |
Beta Was this translation helpful? Give feedback.
-
|
Just to be sure, let me share it. |
Beta Was this translation helpful? Give feedback.
We'd welcome an RFC for this.
@eslint/yamlhas been on my todo list for a couple years now but I haven't had time to devote to it. If you're up for the task, I'd love to have you kickstart this.