Skip to content

Commit

Permalink
style: use lints package
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Aug 2, 2022
1 parent d496769 commit a2877f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include: package:lint/analysis_options.yaml
include: package:lints/recommended.yaml

linter:
rules:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
lint: ^1.5.2
lints: ^2.0.0

flutter:
2 changes: 1 addition & 1 deletion test/widget_test_stubs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class MockWidget extends StatefulWidget {
const MockWidget({Key? key}) : super(key: key);

@override
_MockWidgetState createState() => _MockWidgetState();
State<MockWidget> createState() => _MockWidgetState();
}

class _MockWidgetState extends State<MockWidget> {
Expand Down

0 comments on commit a2877f8

Please sign in to comment.