VeryGoodOpenSource / very_good_analysis

Lint rules for Dart and Flutter used internally at Very Good Ventures 🦄
https://pub.dev/packages/very_good_analysis
MIT License
369 stars 38 forks source link

Automated Checking of Deprecated Lint Rules #120

Open tomarra opened 1 week ago

tomarra commented 1 week ago

We found the JSON file that has all the information we need, https://github.com/dart-lang/site-www/blob/17ccab9e54d0166753c088651a98a5b6e78c1078/src/_data/linter_rules.json#L1764

Make a weekly action that checks that file against our lint list to look for deprecated or removed items and opens a GitHub Issue so it can be triaged and then the worked on.

We don't fully know when the JSON file gets updated (probably on Dart version releases) so we should be mostly up to date but maybe not ahead of stable releases.