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

feat: update lints for Dart 3.5 #111

Merged
merged 5 commits into from
Sep 2, 2024

Conversation

lishaduck
Copy link
Contributor

@lishaduck lishaduck commented Aug 18, 2024

Status

IN DEVELOPMENT

Description

Fixes: #107.

This adds newly recommended lints and removes recently removed lints.
Lints which were only under discussion for removal or which haven't been released as recommended were skipped for now.

I can squash commits later, I wanted to keep them separate for review.
Also, I marked this as a draft. Should it be a draft? Is this mergeable on it's own, and I should make a new PR for more opinionated changes?

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

alestiago
alestiago previously approved these changes Aug 20, 2024
Copy link
Contributor

@alestiago alestiago left a comment

Choose a reason for hiding this comment

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

I've gone through all the issues and read through them, the changes seem reasonable.

The only rule that has a bit of a wishy-washy discussion is prefer_void_to_null, arguments can be made for the both sides discussed in dart-lang/linter#4758. However, I think the false positives are valid considerations.

Nudging @wolfenrain so he can drop his two cents.

tool/linter_rules/exclusion_reasons.json Outdated Show resolved Hide resolved
@alestiago alestiago marked this pull request as ready for review August 21, 2024 09:02
wolfenrain
wolfenrain previously approved these changes Aug 23, 2024
@tomarra tomarra changed the title feat: update lints feat: update lints for Dart 3.5 Aug 26, 2024
@jesusrp98
Copy link

Any ETA or news about this PR being merged and released?

@alestiago alestiago merged commit 233f306 into VeryGoodOpenSource:main Sep 2, 2024
4 checks passed
@lishaduck lishaduck deleted the update-lints branch September 2, 2024 22:17
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.

Update Lints
4 participants