leancodepl / flutter_corelibrary

Our core packages used for building the best Flutter apps.
https://pub.dev/publishers/leancode.co
57 stars 7 forks source link

[leancode_lint] Remove `division_optimization` from `analysis_options`. #371

Closed piotruela closed 1 month ago

piotruela commented 1 month ago

On latest Flutter beta channel (Flutter 3.26.0-0.1.pre; Dart 3.6.0 (build 3.6.0-216.1.beta)) division_optimization was removed from list of hints under this commit. It gives me a warning which I cannot suppress when analysing my project's code.

Warning in the included options file /Users/user/.pub-cache/hosted/pub.dev/leancode_lint-12.1.0/lib/analysis_options.yaml(7445..7465): 'division_optimization' isn't a recognized error code.

I believe the only way to fix it is to depend on a version which does not contain this hint.