Crates.io | xml-lint |
lib.rs | xml-lint |
version | |
source | src |
created_at | 2025-04-11 13:58:25.007527+00 |
updated_at | 2025-04-11 13:58:25.007527+00 |
description | CLI for linting and formatting XML files |
homepage | |
repository | |
max_upload_size | |
id | 1629861 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Lint and reformat XML files. A command line tool for CI pipelines and local dev wrapping
the xmlem
crate.
# 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
# requires rust/cargo toolchain
cargo install xml-lint
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.