Skip to content

refactor: omit type for local variables#28

Merged
AmosHuKe merged 1 commit intomainfrom
omit-type-for-local-variables
Aug 16, 2025
Merged

refactor: omit type for local variables#28
AmosHuKe merged 1 commit intomainfrom
omit-type-for-local-variables

Conversation

@AmosHuKe
Copy link
Copy Markdown
Member

@AmosHuKe AmosHuKe commented Aug 16, 2025

Description

  • Add linter rule - omit_local_variable_types.
  • Avoid unnecessary variable assignments.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

  • I open this PR to the main branch.
  • I did not modify the CHANGELOG.md nor the package version in pubspec.yaml files.
  • All existing and new tests are passing.

Breaking Change

Does your PR require package users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@AmosHuKe AmosHuKe marked this pull request as ready for review August 16, 2025 06:12
@AmosHuKe AmosHuKe merged commit 2f9d200 into main Aug 16, 2025
5 checks passed
@AmosHuKe AmosHuKe deleted the omit-type-for-local-variables branch August 16, 2025 06:12
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.

1 participant