Guides
Guides

Exit Codes and Results

PerfLint will only return results for rules that fail.

See Configuring PerfLint on how to setup the pass conditions and error level for rules.

For a list of available rules see the Rules documentation.

Exit Codes

A nonzero exit code will trigger if a rule marked as an 'error' fails checks. If --maxWarnings is set, a nonzero exit code will be triggered if the number of rules specified as 'warnings' exceeds or is equal to the maximum number defined.

A zero exit code will be triggered if all rules pass checks or if only rules flagged as 'warnings' fail. See docs on --maxWarnings to set the maximum number of warnings allowed.

Formatting

See --format documentation on how to change the formatting of the results.

Formatters