Skip to content

Commit b665189

Browse files
Bump dart_flutter_team_lints from 3.3.0 to 3.5.1 (#4544)
1 parent 9efc8bb commit b665189

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/src/ignore.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Iterable<_IgnoreRule> _parseIgnorePatterns(
363363
}) sync* {
364364
ArgumentError.checkNotNull(patterns, 'patterns');
365365
ArgumentError.checkNotNull(ignoreCase, 'ignoreCase');
366-
onInvalidPattern ??= (_, __) {};
366+
onInvalidPattern ??= (_, _) {};
367367

368368
final parsedPatterns = patterns
369369
.expand((s) => s.split(_lineBreakPattern))

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ packages:
9898
dependency: "direct dev"
9999
description:
100100
name: dart_flutter_team_lints
101-
sha256: "241f050cb4d908caffdcc5d4407e1c4e0b1dd449294ef7b6ceb4a9d8bc77dd96"
101+
sha256: "4c8f38142598339cd28c0b48a66b6b04434ee0499b6e40baf7c62c76daa1fcad"
102102
url: "https://pub.dev"
103103
source: hosted
104-
version: "3.3.0"
104+
version: "3.5.1"
105105
file:
106106
dependency: transitive
107107
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies:
3030

3131
dev_dependencies:
3232
checks: ^0.3.0
33-
dart_flutter_team_lints: ^3.2.1
33+
dart_flutter_team_lints: ^3.5.1
3434
shelf_test_handler: ^2.0.2
3535
test: ^1.25.14
3636
test_descriptor: ^2.0.2

test/ignore_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void main() {
4444
? null
4545
: Ignore(
4646
c.patterns[dir]!,
47-
onInvalidPattern: (_, __) => hasWarning = true,
47+
onInvalidPattern: (_, _) => hasWarning = true,
4848
ignoreCase: ignoreCase,
4949
);
5050

0 commit comments

Comments
 (0)