solid_lints icon indicating copy to clipboard operation
solid_lints copied to clipboard

🟧 Lints for Dart and Flutter based on software industry standards and best practices.

Results 38 solid_lints issues
Sort by recently updated
recently updated
newest added

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...

![image](https://github.com/solid-software/solid_lints/assets/116712879/9e1de549-1690-4985-b757-db61cb6d7df0) ![image](https://github.com/solid-software/solid_lints/assets/116712879/b7c3909c-d2f5-402a-a443-cf7d7b98d70e)

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...