Disable dart-code-metrics for now

Even though I'm not using v4.2, the return-value rule is still being
applied with `flutter analyze` though not consistently.

For now, lets disable this, as there are 300+ warnings to fix.
This commit is contained in:
Vishesh Handa
2021-08-25 11:17:21 +02:00
parent 3d80c494c9
commit 7ff61d2f41
11 changed files with 18 additions and 14 deletions

View File

@ -70,7 +70,7 @@ void _isolateMain(SendPort toMainSender) {
ReceivePort fromMainRec = ReceivePort();
toMainSender.send(fromMainRec.sendPort);
fromMainRec.listen((data) async {
var _ = fromMainRec.listen((data) async {
assert(data is _LoadingMessage);
var msg = data as _LoadingMessage;