solid_lints
solid_lints copied to clipboard
Update avoid_debug_print suggested fix
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?
So, basically, we should check that the debugPrint call is wrapped into the !kReleaseMode check, otherwise, we should show the warning.
Also, we should update the lint name to be avoid_debug_print_in_release