lukeed/tidyPublic

fix: read configs with a BOM

tidy::json::value and tidy::toml::value rejected a text that starts
with a byte order mark, as editors on Windows can save it. They now
skip it, and an error's column doesn't count it.
LELuke Edwards authored
35dfc9dPatch
Parentf695f63
4 files changed+23-1
StackedSplit
crates/tidy/src/config.rs+1 −1
crates/tidy/src/json/value.rs+4 −0
crates/tidy/src/lib.rs+14 −0
crates/tidy/src/toml/value.rs+4 −0