Skip to content

Conversation

@mathew65
Copy link
Contributor

No description provided.

@mathew65 mathew65 requested a review from petrnymsa as a code owner January 15, 2025 16:04
@github-actions
Copy link

github-actions bot commented Jan 15, 2025

DCM report

✅ no issues found!

Full report: https://github.com/netglade/glade_forms/runs/35920983762

@mathew65 mathew65 changed the title chore: update flutter, dependencies, ci workflows update packages Jan 16, 2025
Comment on lines 11 to 15
prefer-boolean-prefixes: false # TODO
prefer-abstract-final-static-class: false # TODO
prefer-named-parameters: false # TODO
dispose-class-fields: false # TODO
avoid-undisposed-instances: false # TODO
Copy link
Member

Choose a reason for hiding this comment

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

You will finish these TODO?

prefer-abstract-final-static-class: false # TODO
prefer-named-parameters: false # TODO
dispose-class-fields: false # TODO
avoid-undisposed-instances: false # TODO
Copy link
Member

Choose a reason for hiding this comment

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

  • avoid-undisposed-instances: ignored-invocations settings https://dcm.dev/docs/rules/flutter/avoid-undisposed-instances
  • dispose-class-fields: ignore comment, i would type there something like that "callback parameters are better without named"
  • prefer-abstract-final-static-class: fix
  • prefer-boolean-prefixes: ok to disable (breaks API), or maybe just ignore comments on line/file?
  • avoid-commented-out-code: above the comment add "// TODO(alternative): you can also do this" or something like that, to disable the warning
  • prefer-single-declaration-per-file: add ignore for the one case

@mathew65 mathew65 merged commit 87d5092 into main Jan 21, 2025
2 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.

3 participants