Bump dart_flutter_team_lints from 3.3.0 to 3.5.1 (#4544)
diff --git a/lib/src/ignore.dart b/lib/src/ignore.dart
index 0a843be..e28205e 100644
--- a/lib/src/ignore.dart
+++ b/lib/src/ignore.dart
@@ -363,7 +363,7 @@
}) sync* {
ArgumentError.checkNotNull(patterns, 'patterns');
ArgumentError.checkNotNull(ignoreCase, 'ignoreCase');
- onInvalidPattern ??= (_, __) {};
+ onInvalidPattern ??= (_, _) {};
final parsedPatterns = patterns
.expand((s) => s.split(_lineBreakPattern))
diff --git a/pubspec.lock b/pubspec.lock
index 4891ee5..6df6ff8 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -98,10 +98,10 @@
dependency: "direct dev"
description:
name: dart_flutter_team_lints
- sha256: "241f050cb4d908caffdcc5d4407e1c4e0b1dd449294ef7b6ceb4a9d8bc77dd96"
+ sha256: "4c8f38142598339cd28c0b48a66b6b04434ee0499b6e40baf7c62c76daa1fcad"
url: "https://pub.dev"
source: hosted
- version: "3.3.0"
+ version: "3.5.1"
file:
dependency: transitive
description:
diff --git a/pubspec.yaml b/pubspec.yaml
index 9ae88a0..1f40063 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -30,7 +30,7 @@
dev_dependencies:
checks: ^0.3.0
- dart_flutter_team_lints: ^3.2.1
+ dart_flutter_team_lints: ^3.5.1
shelf_test_handler: ^2.0.2
test: ^1.25.14
test_descriptor: ^2.0.2
diff --git a/test/ignore_test.dart b/test/ignore_test.dart
index 406525f..1003612 100644
--- a/test/ignore_test.dart
+++ b/test/ignore_test.dart
@@ -44,7 +44,7 @@
? null
: Ignore(
c.patterns[dir]!,
- onInvalidPattern: (_, __) => hasWarning = true,
+ onInvalidPattern: (_, _) => hasWarning = true,
ignoreCase: ignoreCase,
);