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

Rules

Per-package rules

  • NoRedundantDeps Ensure that dependencies are not declared in both dependencies and peerDependencies
  • EnforceRationale Ensure that specified fields in JSON files have an entry in a rationale field in the same file explaining the addition.
  • ESLintPreferConstRule Ensure that the prefer-const ESLint rule is enabled

Per-source file rules

  • CrossPackageDependencyDetector Find usage of imports across package boundaries
  • NodeModulesReferenceDetector Catch errant usages of node_modules (instead of proper imports)
  • RedundantImportsDetector Find redundant imports
  • SrcDetector Catch usage of src in import paths, a clue that things are not being imported correctly.
  • TransitiveDependencyDetector Find usage of dependencies of dependencies.
Last Updated: 12/10/25, 8:50 PM
Prev
Disabling rules
Next
Advanced configuration: Custom rules