[diagnostics]

Limit how many errors and warnings are printed to the terminal per run.

These limits affect terminal output only; any error still fails the build even if hidden from the summary. To inspect every diagnostic without truncation, pipe tola check --json into @tola-scripts/diagnostic#render.

Keys

max_errors

default: 3

Maximum number of errors printed in the terminal. Set to 0 to hide errors from terminal output.

max_warnings

default: 3

Maximum number of warnings printed in the terminal. Set to 0 to suppress warnings from terminal output.

Examples

Show up to 10 errors and suppress terminal warnings

toml
[diagnostics]
max_errors = 10
max_warnings = 0

Search this site

Use the arrow keys to move through results.

Type to search.