Skip to content
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

Avoid unnecessary type casts rule #47

Conversation

DenisBogatirov
Copy link
Contributor

Added avoid-unnecessary-type-casts rule, with test and quick fix
Refactored avoid-unnecessary-type-assertion & types_utils, extracted common methods

lint_test/avoid_unnecessary_type_casts_test.dart Outdated Show resolved Hide resolved
lib/utils/typecast_utils.dart Outdated Show resolved Hide resolved
lib/utils/typecast_utils.dart Outdated Show resolved Hide resolved
lib/utils/typecast_utils.dart Outdated Show resolved Hide resolved
lib/utils/typecast_utils.dart Outdated Show resolved Hide resolved
Copy link
Collaborator

@solid-yuriiprykhodko solid-yuriiprykhodko left a comment

Choose a reason for hiding this comment

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

Looking good!

@solid-yuriiprykhodko solid-yuriiprykhodko merged commit 4feee3b into solid-software:release-v0.1.0 Sep 13, 2023
1 check 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