1 unstable release
0.1.0 | Mar 26, 2023 |
---|
#1142 in Text processing
7KB
107 lines
lf_lint
Linter that checks that all files in ends with a newline. Optionally adds such a newline where missing.
$ lf_lint --help
Checks that all text files in <PATH> ends with a newline
Usage: lf_lint [OPTIONS] --path <PATH>
Options:
-p, --path <PATH> Path to operate on
-f, --fix Add new line at EOF if missing
-h, --help Print help
-V, --version Print version
This tool is available as a Crate and as a Docker image.
Dependencies
~2.5–10MB
~100K SLoC