Skip to content

Commit

Permalink
update lints to 4.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Aug 2, 2024
1 parent 6fd73bb commit c6b8cae
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@

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

include: package:flutter_lints/flutter.yaml
include: package:lints/recommended.yaml

analyzer:
errors:
constant_identifier_names: ignore
no_wildcard_variable_uses: ignore
use_super_parameters: ignore
#
# Enforce stricter type-checking
# https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
lints: ^4.0.0
mockito: ^5.3.2
import_sorter: ^4.6.0
yaml: ^3.1.2
Expand Down
1 change: 1 addition & 0 deletions test/core/room_e2e_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

@Timeout(Duration(seconds: 5))
library;

import 'package:flutter_test/flutter_test.dart';

Expand Down
1 change: 1 addition & 0 deletions test/core/signal_client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

@Timeout(Duration(seconds: 5))
library;

import 'package:flutter_test/flutter_test.dart';
import 'package:protobuf/protobuf.dart';
Expand Down
1 change: 1 addition & 0 deletions test/mock/e2e_container_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

@Timeout(Duration(seconds: 5))
library;

import 'package:flutter_test/flutter_test.dart';

Expand Down

0 comments on commit c6b8cae

Please sign in to comment.