Runs diagnostic checks on a project for common npm issues.
Counts issues by level.
Formats diagnostic results.
Runs all diagnostic checks.
@spec counts([map()]) :: map()
@spec format([map()]) :: String.t()
@spec run(String.t()) :: [map()]