Skip to content

chore: general maintenance - #15

Merged
wim07101993 merged 3 commits into
masterfrom
updates
Sep 13, 2026
Merged

wim07101993 merged 3 commits into
masterfrom
updates

Conversation

@wim07101993

Copy link
Copy Markdown
Owner
  • chore: removed the unused async dependency
  • chore: added a version constraint to the lint dev dependency
  • chore: resolved all analyzer lints (unnecessary_library_name, simplify_variable_pattern, async_return_with_no_await, unnecessary_async)
  • ci: updated the GitHub actions to their latest major versions and replaced the flutter setup in the test job with the dart setup
  • ci: fixed the unquoted variable expansions in bin/ensure_pana_score.sh
  • doc: fixed the outdated/broken references in the readme and the dartdoc comments (the return type is a FutureOr, Failed exposes reason)
  • chore: aligned .editorconfig with what dart format produces and added a .gitattributes to normalise the line endings

* chore: removed the unused `async` dependency
* chore: added a version constraint to the `lint` dev dependency
* chore: resolved all analyzer lints (`unnecessary_library_name`,
  `simplify_variable_pattern`, `async_return_with_no_await`, `unnecessary_async`)
* ci: updated the GitHub actions to their latest major versions and replaced the
  flutter setup in the test job with the dart setup
* ci: fixed the unquoted variable expansions in `bin/ensure_pana_score.sh`
* doc: fixed the outdated/broken references in the readme and the dartdoc
  comments (the return type is a `FutureOr`, `Failed` exposes `reason`)
* chore: aligned `.editorconfig` with what `dart format` produces and added
  a `.gitattributes` to normalise the line endings
Copilot AI lite review requested due to automatic review settings September 13, 2026 08:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Correct the documentation and missing .gitattributes references, and remove the generated device cache.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This maintenance pull request updates dependencies, analyzer compliance, documentation, CI workflows, shell validation, and formatting configuration.

Changes:

  • Removes the unused async dependency and constrains lint.
  • Resolves analyzer lints and simplifies async code and tests.
  • Updates documentation, CI actions, and shell safety.
  • Adjusts editor and IDE configuration.
File summaries
File Reviewed changes
test/src/behaviour_without_input_test.dart Removes unnecessary async test closures.
test/src/behaviour_test.dart Removes unnecessary async test closures.
README.md Updates API documentation; legacy references remain.
pubspec.yaml Updates package metadata and dependencies.
lib/src/exception_or.dart Corrects API documentation references.
lib/src/exception_or_extensions.dart Simplifies pattern matching.
lib/src/behaviour.dart Corrects return-type documentation.
lib/src/behaviour_without_input.dart Corrects return-type documentation.
lib/src/behaviour_without_input_interface.dart Corrects interface documentation.
lib/src/behaviour_mixin.dart Updates async handling and documentation.
lib/src/behaviour_interface.dart Corrects interface documentation.
lib/behaviour.dart Removes the named library declaration.
CHANGELOG.md Adds 3.0.2 release notes.
bin/ensure_pana_score.sh Improves score parsing and shell safety.
.idea/markdown.xml Adds IDE Markdown configuration.
.idea/caches/deviceStreaming.xml Adds generated device cache data.
.github/workflows/ensure_version_changed.yml Updates the checkout action.
.github/workflows/ensure_code_quality.yml Updates CI actions and Dart setup.
.editorconfig Aligns formatting settings.
Review details

Files not reviewed (1)

  • .idea/markdown.xml: Generated file

Suppressed comments (1)

.editorconfig:8

  • The PR description says a .gitattributes file was added, but no such file is present in the checkout. .editorconfig only controls editor behavior and cannot enforce Git's line-ending normalization, so add the promised file or correct the description before considering this maintenance item complete.
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
  • Files reviewed: 16/19 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .idea/caches/deviceStreaming.xml Resolved
Comment thread CHANGELOG.md Resolved
Comment thread README.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Both updated README sections still use case-mismatched fragments that leave the “Return value” links broken.

Get a fresh assessment by requesting another Copilot review.

Review details

Files not reviewed (1)

  • .idea/markdown.xml: Generated file

Suppressed comments (1)

README.md:62

  • This second “Return value” link also retains the case-mismatched #Return-value fragment. Use the generated lowercase heading anchor so the link navigates correctly.
called a `FutureOr<ExceptionOr<TOut>>` value. For more details about that look
at the [Return value](#Return-value).
  • Files reviewed: 17/20 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread README.md Resolved
GitHub slugifies headings to lowercase, so `## Return value` generates the
fragment `#return-value`. Both links used `#Return-value` and therefore did
not navigate to the section.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017b5dUmFrwLWxd8a85FN6Uy

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The maintenance changes are internally consistent, preserve the synchronous and asynchronous API contracts, and pass the updated CI workflow.

Review details

Files not reviewed (1)

  • .idea/markdown.xml: Generated file
  • Files reviewed: 17/20 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@wim07101993
wim07101993 merged commit a574dbb into master Sep 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants