api / org.gradle.api.plugins.quality / CheckstyleExtension / getMaxErrors

getMaxErrors

open fun getMaxErrors(): Int

The maximum number of errors that are tolerated before breaking the build or setting the failure property. Defaults to 0.

Example: maxErrors = 42

Since
3.4

Return
the maximum number of errors allowed