Skip to content

Migrate avoid_late_keyword rule (default behavior) and tests#231

Draft
Islam-Shaaban-Ibrahim wants to merge 2 commits into
implementation-of-parameter-parserfrom
migrate/avoid_late_keyword
Draft

Migrate avoid_late_keyword rule (default behavior) and tests#231
Islam-Shaaban-Ibrahim wants to merge 2 commits into
implementation-of-parameter-parserfrom
migrate/avoid_late_keyword

Conversation

@Islam-Shaaban-Ibrahim
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request migrates the AvoidLateKeywordRule to the AnalysisRule framework, introducing a dedicated visitor and unit tests. The review highlights a regression where configuration parameters for ignoring types and allowing initializers were removed, and notes a missing import in the visitor class that will cause a compilation error.

Comment thread lib/src/lints/avoid_late_keyword/avoid_late_keyword_rule.dart Outdated
@solid-vovabeloded
Copy link
Copy Markdown
Collaborator

@Islam-Shaaban-Ibrahim, I believe this rule needs custom params to allow users to configure it.

@andrew-bekhiet-solid andrew-bekhiet-solid force-pushed the migrate/avoid_late_keyword branch from 0f69812 to 730d708 Compare June 3, 2026 23:15
@andrew-bekhiet-solid andrew-bekhiet-solid changed the base branch from analysis_server_migration to implementation-of-parameter-parser June 3, 2026 23:15
@andrew-bekhiet-solid andrew-bekhiet-solid marked this pull request as draft June 3, 2026 23:16
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.

4 participants