lukeed/tidyPublic

feat: wire up Dockerfiles

tidy finds Dockerfiles by name: Dockerfile, Containerfile, their
variants such as Dockerfile.dev, and .dockerfile. The CLI and the Node
binding take a dockerfile parser, a config has a dockerfile section
with indentStages and healthcheckCmdNewLine, and the shared width,
indent and eol apply. Markdown code blocks of Dockerfiles format.

deviations.md lists where tidy differs from dprint, all proposed, and
the deviations test checks each.
LELuke Edwards authored
52c63fbPatch
Parent37ce85b
10 files changed+474-16
StackedSplit
crates/tidy/src/config.rs+29 −0
crates/tidy/src/embed.rs+17 −5
crates/tidy/src/options.rs+19 −1
crates/tidy/tests/config.rs+15 −0
crates/tidy/tests/deviations.json+125 −0
crates/tidy/tests/deviations.rs+6 −2
crates/tidy/tests/dockerfile.rs+109 −0
crates/tidy_cli/src/main.rs+8 −6
crates/tidy_napi/src/lib.rs+7 −1
deviations.md+139 −1