How to customize the YAML linter? #6530
-
Editing YAML files, I get a lot of linting errors: "Wrong ordering of key ...".
|
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
I don't think this can be done right now. Whenever https://github.com/zed-industries/community/issues/585 is addressed, it should be as easy as setting yaml.keyOrdering to |
Beta Was this translation helpful? Give feedback.
-
Just to note, that I think we did disable that linting feature related to key ordering and it should be out soon. Ideally, we will work on a system that surfaces these options to users, but for now, we disabled it, since not everyone was using YAML for that one specific case (GitHub Workflows). |
Beta Was this translation helpful? Give feedback.
I don't think this can be done right now. Whenever https://github.com/zed-industries/community/issues/585 is addressed, it should be as easy as setting yaml.keyOrdering to
false
.