package:cognitive_complexity v0.2.4
·
9 commits
to main
since this release
- Fix
action.ymlmonorepo auto-detection to evaluate defaultlibvs
packagesexistence against the caller's$GITHUB_WORKSPACEinstead of
$ACTION_PATH(#76). - Fix
action.ymlto run the scanner from the caller's$GITHUB_WORKSPACE
rather than$ACTION_PATH, so relativetargetsand--git-diffresolve
against the repository under audit when the action is used from another
repository (#76). - Add
--comment-outputand--max-comment-rowsCLI options: with
--format=github, write a second report capped to the most significant rows
(violations, then increases, then additions) for posting as a PR comment,
while the step summary keeps the full table (#49). - Add
commentFileandmaxCommentRowsparameters toGitHubReporter. - Add
max-comment-rowsinput to the GitHub Action (default0= unlimited)
to keep sticky comments under GitHub's 65536-character body limit. - Anchor GitHub annotations to the declaration line only, so they render
under the function signature instead of after the closing brace (#55). - Move package into pub workspace monorepo layout under
packages/cognitive_complexity. - Restore root
action.ymlandskills/structure for monorepo workspace.