.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH alpm-lint-check 1 "alpm-lint-check " .SH NAME alpm\-lint\-check \- Run lints on a file or directory .SH SYNOPSIS \fBalpm\-lint check\fR [\fB\-s\fR|\fB\-\-scope\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-f\fR|\fB\-\-format\fR] [\fB\-q\fR|\fB\-\-quiet\fR]... [\fB\-p\fR|\fB\-\-pretty\fR] [\fB\-l\fR|\fB\-\-level\fR] [\fB\-c\fR|\fB\-\-config\fR] [\fB\-o\fR|\fB\-\-output\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIDIR\fR] .SH DESCRIPTION Run lints on a file or directory. .PP By default, `alpm\-lint` will try to determine the current linting scope based on the provided filename or on available files in the provided directory. .SH OPTIONS .TP \fB\-s\fR, \fB\-\-scope\fR \fI\fR Explicitly define the linting scope. Using this option overrides the automatic detection. .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 source\-repository: Lint rules with this scope are specific to an [alpm\-source\-repo] .IP \(bu 2 package: Lint rules with this scope are specific to an [alpm\-package] .IP \(bu 2 build\-info: Lint rules with this scope are specific to a single [BUILDINFO] file .IP \(bu 2 package\-build: Lint rules with this scope are specific to a single [PKGBUILD] file .IP \(bu 2 package\-info: Lint rules with this scope are specific to a single [PKGINFO] file .IP \(bu 2 source\-info: Lint rules with this scope are specific to a single [SRCINFO] file .RE .TP \fB\-v\fR, \fB\-\-verbose\fR More output per occurrence .TP \fB\-f\fR, \fB\-\-format\fR \fI\fR [default: text] The output format to use. If none is provided, any issues will be printed in human readable form. .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 text: Human readable text .IP \(bu 2 json: The JSON output format .RE .TP \fB\-q\fR, \fB\-\-quiet\fR Less output per occurrence .TP \fB\-p\fR, \fB\-\-pretty\fR Pretty\-print the output. Has no effect if the output format can not be pretty printed. .TP \fB\-l\fR, \fB\-\-level\fR \fI\fR [default: warn] The level of lints to consider. Any lints with this level and above (more severe) will be shown. If such lints are found, the command will return with an non\-zero exit code. .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 error: Lint rules leading to errors .IP \(bu 2 deny: Lint rules leading to denials .IP \(bu 2 warn: Lint rules leading to warnings .IP \(bu 2 suggest: Lint rules leading to suggestions .RE .TP \fB\-c\fR, \fB\-\-config\fR \fI\fR Supply a lint config path. This overwrites any options from the project wide configuration file. .TP \fB\-o\fR, \fB\-\-output\fR \fI\fR Optional output file path. If not provided, output goes to stdout .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP [\fIDIR\fR] An optional path to a file or directory to be linted