boll
Get started
Documentation
GitHub
Get started
Documentation
GitHub
  • Documentation
  • Configuration
  • Running boll
  • Disabling rules
  • Rules
  • Advanced configuration: Custom rules

Disabling rules

Any rule can be disabled by adding a comment to a source file. Rule names default to those specified in source, but can be overridden by a project's own configuration. Be sure to use the name of the rule in the boll output to ensure it is disabled correctly.

Disable a single rule

Simply add a comment starting with boll-disable.

/* boll-disable SrcDetector */

Disabling multiple rules

Rule names may be comma separated as well.

/* boll-disable SrcDetector, CrossPackageDependencyDetector */
Last Updated: 12/10/25, 8:50 PM
Prev
Running boll
Next
Rules