Documentation

Lean.Linter.CodeQuality.Frontend

Code quality check registration and driver #

A package code quality check is a declaration of type PackageCheck tagged with the @[package_code_quality_check] attribute. The driver runs every registered check once per package; each check sees the whole environment and is responsible for restricting its metrics to the package named by the PackageCheckContext it receives. Registered checks are tracked by the packageCheckExt environment extension and are run concurrently, one task per check, by runPackageChecks, which combines all results into a single array of entries.

Global inputs provided by the driver to every code quality check.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For