Skip to content

feat: add unnecessary_type_name_in_constructor rule - #232

Merged
marcossevilla merged 2 commits into
mainfrom
vgv-ai-bot/issue-220
Aug 17, 2026
Merged

feat: add unnecessary_type_name_in_constructor rule#232
marcossevilla merged 2 commits into
mainfrom
vgv-ai-bot/issue-220

Conversation

@unicoderbot

@unicoderbot unicoderbot Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Enables the unnecessary_type_name_in_constructor lint rule introduced in Dart 3.13, which warns when a type name is unnecessarily used in a constructor invocation.

Changes

  • Added unnecessary_type_name_in_constructor to analysis_options.11.0.0.yaml
  • Removed the rule from the exclusion list in exclusion_reasons.json and README.md

Closes #220

Closes #220

Co-authored-by: marcossevilla <marcossevilla@users.noreply.github.com>
marcossevilla
marcossevilla previously approved these changes Aug 17, 2026
@marcossevilla
marcossevilla merged commit 60d33b5 into main Aug 17, 2026
6 checks passed
@marcossevilla
marcossevilla deleted the vgv-ai-bot/issue-220 branch August 17, 2026 12:53
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in VGV Open Source 馃 馃馃専 Aug 17, 2026
@vgvbot vgvbot mentioned this pull request Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

feat: add unnecessary_type_name_in_constructor rule

1 participant