lf_lint

Crates.iolf_lint
lib.rslf_lint
version0.1.0
sourcesrc
created_at2023-03-26 16:04:33.253994
updated_at2023-03-26 16:04:33.253994
descriptionLinter that checks that all files in ends with a newline.
homepagehttps://github.com/andni233/lf_linter
repositoryhttps://github.com/andni233/lf_linter
max_upload_size
id821359
size19,192
Andreas Nilsson (andni233)

documentation

README

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.

Commit count: 6

cargo fmt