Festo-se / cyclonedx-editor-validator

Tool for creating, modifying and validating CycloneDX SBOMs.
https://festo-se.github.io/cyclonedx-editor-validator/
GNU General Public License v3.0
21 stars 4 forks source link

chore: Add JSON formatting to pre-commit and apply to all #296

Closed mmarseu closed 1 month ago

mmarseu commented 1 month ago

This is a pure formatting PR. It does not change any code.

The reason is that when I tried to edit the CycloneDX schema files, my JSON formatter messed with the entire file and produced a completely unreadable diff, even though the actual change was small. This PR solves that problem by establishing a base formatting for all JSON files enforced by pre-commit for any future commits.

github-actions[bot] commented 1 month ago

Coverage

Coverage Report •
FileStmtsMissCoverMissing
TOTAL17007695% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
348 2 :zzz: 0 :x: 0 :fire: 12.174s :stopwatch: