Synopsis

affogato check [-h] [FILE…​]

Description

Report the linter’s findings in Nix files without changing them.

Options

-h, --help

Show this help and exit.

Arguments

[FILE…​]

Files to check, or directories to search for .nix files; standard input without any.

Exit status

0

No finding is an error or a warning.

1

A finding is an error or a warning, or a file cannot be read.

2

The command line is invalid.

Output

Each finding is printed on one line as FILE:LINE:COLUMN: SEVERITY[RULE]: MESSAGE.