You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #853, there'd ideally be a YAML formatter for Spotless. I've not yet investigated options, but a simple() version maybe using Jackson's YAML mapper may be sufficient for a first option
Edit: looking at it, and the various formats for YAML it may not be as easy as I thought, given it needs to parse and then pretty-print, which can change the formats substantially (and do things like exclude comments):
---
hr:
- Mark McGwire# Following node labeled SS- &SS Sammy Sosarbi:
- *SS # Subsequent occurrence
- Ken Griffey
vs
hr: [Mark McGwire, Sammy Sosa]rbi: [Sammy Sosa, Ken Griffey]
The text was updated successfully, but these errors were encountered:
Similar to #853, there'd ideally be a YAML formatter for Spotless. I've not yet investigated options, but a
simple()
version maybe using Jackson's YAML mapper may be sufficient for a first optionEdit: looking at it, and the various formats for YAML it may not be as easy as I thought, given it needs to parse and then pretty-print, which can change the formats substantially (and do things like exclude comments):
vs
The text was updated successfully, but these errors were encountered: