Skip to content

feat: automate deprecated lint rules #158

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

matiasleyba
Copy link
Contributor

@matiasleyba matiasleyba commented Jul 11, 2025

Status

READY

Description

  • Updated bump_versionscript to also bump the version in pubspec.yaml.
  • Unified the logic for fetching linter rules into a single allLinterRules function that uses one endpoint instead of two.
  • Created a shared.dart file to consolidate reusable URLs and tags.
  • Centralized the logic for updating the excluded rules table in README within a Readme class function.
  • Added a script to remove deprecated rules based on the official Dart linter rules (more details on the docs).
  • Added a CI workflow to run the analyze script daily and create a PR in case rules are deprecated, example PR and workflow logs.

These changes are part of the changes to implement a better mechanism to automatically detect deprecated lint rules in the VGA #120

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

@matiasleyba matiasleyba self-assigned this Jul 11, 2025
@matiasleyba matiasleyba changed the title Draft: feat: automate deprecated lint rules feat: automate deprecated lint rules Jul 11, 2025
@alestiago
Copy link
Contributor

Thanks for starting this @matiasleyba ! Let me know once you're done with it and I can drop a review if desired.

@matiasleyba matiasleyba marked this pull request as ready for review July 14, 2025 17:04
@matiasleyba matiasleyba requested a review from a team as a code owner July 14, 2025 17:04
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