solid_lints
solid_lints copied to clipboard
🟧 Lints for Dart and Flutter based on software industry standards and best practices.
This'll help with dead_code BAD: ```dart class X { // only used internally void x() { ... } } ``` GOOD: ```dart class X { // only used internally void...
See here more: https://github.com/flutter/flutter/issues/147141 We might want just to provide our own utility to do logging? Or provide better example that just makes sure that debugPrint is guarded by kDebugMode?
We need to refactor the current package structure to make it consistent over different rules. The package structure should be the following for all the rules: ``` - lints -...
In few rules we want to ignore certain methods/classes, and we want to extract and reuse this code. Common issues is support of generics, etc.
Hi, currently using https://pub.dev/packages/fast_immutable_collections and with these lint give a warning for every IMap call. Is feasible to add the exception? or maybe add the possibility to add valid types...
 
https://refactoring.guru/smells/feature-envy https://github.com/troessner/reek/blob/master/lib/reek/smell_detectors/feature_envy.rb https://github.com/tsantalis/JDeodorant/blob/master/src/gr/uom/java/jdeodorant/refactoring/views/FeatureEnvy.java
I'm currently using: ```yaml - avoid_late_keyword: allow_initialized: true ignored_types: - AnimationController - StreamSubscription - Timer ``` Timer is working fine and AnimationController too, but StreamSubscription is not working and here...