Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 171
Migrate complexity linting to package:cognitive_complexity#211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
reidbaker
merged 13 commits into
flutter:main
from
reidbaker:migrate-cognitive-complexity-2026-08-03Aug 3, 2026
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e02e663
Migrate complexity linting to package:cognitive_complexity
reidbaker 10a6b19
Fix cognitive_complexity target path in workflow
reidbaker 5e9e0bc
Fix cognitive_complexity steps and coverage workflow in CI
reidbaker 6e03401
Pass repo-relative package paths to cognitive_complexity in workflow
reidbaker 7ef9340
Fix zizmor audit findings for archived-uses and dependabot cooldown
reidbaker 3cc9b97
Trigger CI presubmit checks
reidbaker e01f97f
Update zizmor ignore comment position for archived-uses
reidbaker ad854d1
Inline zizmor ignore comment on uses line
reidbaker c8940db
Address PR review: preserve dart_code_linter rules and revert dependa…
reidbaker f03629f
Restore dart_code_linter comments in analysis_options.yaml
reidbaker f62fc9e
Combine cognitive complexity checks into single multi-directory step
reidbaker 6f15c70
Update definition-of-done SKILL.md metrics command to include test di…
reidbaker bd8a210
Add cognitive_complexity execution expectation to definition-of-done …
reidbaker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7 tool/dart_skills_lint/.agents/skills/definition-of-done/SKILL.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7 tool/dart_skills_lint/.agents/skills/definition-of-done/evals/evals.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -270,8 +270,6 @@ linter: | ||
| - void_checks | ||
| dart_code_linter: | ||
| metrics: | ||
| cyclomatic-complexity: 20 | ||
| rules: | ||
reidbaker marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| # Explicit typing | ||
| - avoid-dynamic | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this whole changelog appears unrelated to the work in this pr. Why is it here?