From 30f174fec59b989790e6721578a0c4d734959160 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Wed, 21 Jun 2023 00:04:59 +0000 Subject: [PATCH] Ignore a false positive for unreachable_from_main See https://github.com/dart-lang/linter/issues/4474 --- pkgs/test/tool/host.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/test/tool/host.dart b/pkgs/test/tool/host.dart index 11b2d1bf6..d98cd05b4 100644 --- a/pkgs/test/tool/host.dart +++ b/pkgs/test/tool/host.dart @@ -17,6 +17,8 @@ import 'package:test/src/runner/browser/dom.dart' as dom; /// A class defined in content shell, used to control its behavior. @JS() @staticInterop +// TODO: https://github.com/dart-lang/linter/issues/4474 - Drop ignore. +// ignore: unreachable_from_main class TestRunner {} extension TestRunnerExtension on TestRunner {