lukeed/tidyPublic

feat: wire JSON into options

Adds Language::Json, a json config section, the JSON parsers to
the CLI and the binding, and makes trailingComma a shared option,
since SCSS, JSONC and JSON5 all follow it, as in Prettier.
LELuke Edwards authored
c0702b5Patch
Parent5927d65
4 files changed+101-27
StackedSplit
crates/tidy/src/config.rs+43 โˆ’14
crates/tidy/src/options.rs+29 โˆ’2
crates/tidy_cli/src/main.rs+14 โˆ’7
crates/tidy_napi/src/lib.rs+15 โˆ’4