Skip to content

feat: add unnecessary_const_in_enum_constructor rule - #235

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

feat: add unnecessary_const_in_enum_constructor rule#235
marcossevilla merged 2 commits into
mainfrom
vgv-ai-bot/issue-216

Conversation

@unicoderbot

@unicoderbot unicoderbot Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the unnecessary_const_in_enum_constructor lint rule to the analysis options, introduced in Dart 3.13.

This rule flags unnecessary const usage in enum constructors, helping keep code clean and idiomatic.

Ref: https://dart.dev/tools/diagnostics/unnecessary_const_in_enum_constructor

Closes #216

Closes #216

Co-authored-by: marcossevilla <marcossevilla@users.noreply.github.com>
@marcossevilla
marcossevilla merged commit 2cf53e8 into main Aug 17, 2026
15 checks passed
@marcossevilla
marcossevilla deleted the vgv-ai-bot/issue-216 branch August 17, 2026 11:31
@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_const_in_enum_constructor rule

1 participant