Forge
Concepts

Conformance

Understanding conformance rules in Forge

Conformance

Conformance ensures your repository meets organizational standards and best practices. Forge includes built-in rules for Codeak compliance.

Running Conformance Checks

Check your repository against all conformance rules:

npx @bjb-forge/cli conform

Rule Severity

Rules are categorized by severity:

  • Blocker - Must be fixed before migration
  • Critical - Should be fixed as soon as possible
  • Major - Important but not blocking
  • Minor - Nice to have improvements

Automatic Fixes

Many conformance rules support automatic fixes:

npx @bjb-forge/cli conform --fix

Select rules to fix interactively. It's recommended to fix one rule at a time, starting with the highest severity.

Custom Rules

Teams can define custom conformance rules to enforce project-specific standards beyond the built-in Codeak requirements.

Continuous Conformance

Conformance checks run automatically in CI pipelines to prevent regressions and ensure ongoing compliance.

On this page