#xml #lint #formatting #xml-lint

app xml-lint

CLI for linting and formatting XML files

1 unstable release

new 0.1.0 Apr 11, 2025

#588 in Filesystem

Download history 119/week @ 2025-04-09

119 downloads per month

MIT license

13KB
63 lines

xml-lint

Lint and reformat XML files. A command line tool for CI pipelines and local dev wrapping the xmlem crate.

Usage

# lint XML files
xml-lint path/to/file.xml
xml-lint file1.xml file2.xml file3.xml

# fix formatting
xml-lint --fix path/to/file.xml

# see config options, flags, etc.
xml-lint --help

Installation

# requires rust/cargo toolchain
cargo install xml-lint

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option. Any contribution intentionally submitted for inclusion in Asciidork by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~7MB
~116K SLoC