Scroll to navigation

PRECIOUS(1) User Commands PRECIOUS(1)

NAME

precious lint - Validate path(s) against lint-checkers

SYNOPSIS

precious lint [OPTIONS] <--all|--git|--staged|--git-diff-from <REF>|--staged-with-stash|PATHS>

DESCRIPTION

Validate path(s) against lint-checkers

Arguments:

[PATHS]...
A list of paths on which to operate

OPTIONS

The command to run. If specified, only this command will be run. This should match the command name in your config file
Run against all files in the current directory and below
Run against files that have been modified according to git
Run against files that are staged for a git commit
Run against files that are different as compared with the given `<REF>`. This can be a branch name, like `master`, or an ref name like `HEAD~6` or `master@{2.days.ago}`. See `git help rev-parse` for more options. Note that this will _not_ see files with uncommitted changes in the local working directory
Run against file content that is staged for a git commit, stashing all unstaged content first. The stash push/pop tends to do weird things to the working directory, and is not recommended for scripting
If this is set, then only commands matching this label will be run. If this isn't set then commands without a label or with the label "default" will be run
Print help
Print version
January 2025 precious lint 0.7.3