Skip to content

Commit d750ccd

Browse files
authored
update lints to 4.0.0. (#563)
1 parent 6fd73bb commit d750ccd

5 files changed

+7
-2
lines changed

analysis_options.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@
2424

2525
# https://pub.dev/packages/flutter_lints
2626

27-
include: package:flutter_lints/flutter.yaml
27+
include: package:lints/recommended.yaml
2828

2929
analyzer:
3030
errors:
3131
constant_identifier_names: ignore
32+
no_wildcard_variable_uses: ignore
33+
use_super_parameters: ignore
3234
#
3335
# Enforce stricter type-checking
3436
# https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies:
4848
dev_dependencies:
4949
flutter_test:
5050
sdk: flutter
51-
flutter_lints: ^2.0.1
51+
lints: ^4.0.0
5252
mockito: ^5.3.2
5353
import_sorter: ^4.6.0
5454
yaml: ^3.1.2

test/core/room_e2e_test.dart

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// limitations under the License.
1414

1515
@Timeout(Duration(seconds: 5))
16+
library;
1617

1718
import 'package:flutter_test/flutter_test.dart';
1819

test/core/signal_client_test.dart

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// limitations under the License.
1414

1515
@Timeout(Duration(seconds: 5))
16+
library;
1617

1718
import 'package:flutter_test/flutter_test.dart';
1819
import 'package:protobuf/protobuf.dart';

test/mock/e2e_container_test.dart

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// limitations under the License.
1414

1515
@Timeout(Duration(seconds: 5))
16+
library;
1617

1718
import 'package:flutter_test/flutter_test.dart';
1819

0 commit comments

Comments
 (0)