DataCater / datacater

The developer-friendly ETL platform for transforming data in real-time. Based on Apache Kafka® and Kubernetes®.
https://datacater.io
Other
82 stars 4 forks source link

Switch to js-yaml for better YAML formatting #127

Closed flippingbits closed 1 year ago

flippingbits commented 1 year ago

This PR replaces the existing JSON-to-YAML formatter, json-to-pretty-yaml, with js-yaml.

The main intention behind this PR is to render multiline strings in a clean way.

Before: Screenshot 2023-01-12 at 09 24 53

After: Screenshot 2023-01-12 at 09 22 28

flippingbits commented 1 year ago

My apologies for the forced push. I had to rewrite the Git history since I accidentally committed a file that does not belong here 😰

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information