Skip to content

Commit 7642940

Browse files
committed
Add ignores for valid violations of metrics
1 parent 817bacf commit 7642940

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dwds/lib/src/loaders/frontend_server_strategy_provider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ class FrontendServerDdcStrategyProvider
139139

140140
/// Provides a [DdcLibraryBundleStrategy] suitable for use with the Frontend
141141
/// Server.
142+
// ignore: prefer-correct-type-name
142143
class FrontendServerDdcLibraryBundleStrategyProvider
143144
extends FrontendServerStrategyProvider<DdcLibraryBundleStrategy> {
144145
late final DdcLibraryBundleStrategy _libraryBundleStrategy;

dwds/lib/src/services/chrome_proxy_service.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ class ChromeProxyService implements VmServiceInterface {
411411
for (final breakpoint in isolate.breakpoints?.toList() ?? <Breakpoint>[]) {
412412
if (libraries == null ||
413413
(breakpoint.location.script != null &&
414+
// ignore: avoid-unrelated-type-casts
414415
libraries.contains(breakpoint.location.script.uri))) {
415416
await (await debuggerFuture).removeBreakpoint(breakpoint.id!);
416417
}

0 commit comments

Comments
 (0)