diff --git a/analysis_options.yaml b/analysis_options.yaml index 0bb32ed6b..61b6c4de1 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -7,6 +7,8 @@ # The following line activates a set of recommended lints for Flutter apps, # packages, and plugins designed to encourage good coding practices. +include: package:flutter_lints/flutter.yaml + linter: # The lint rules applied to this project can be customized in the # section below to disable rules from the `package:flutter_lints/flutter.yaml` diff --git a/pubspec.yaml b/pubspec.yaml index 0da73ec2a..b6a6df2ed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -152,6 +152,8 @@ dev_dependencies: mockito: 5.0.17 hive_generator: 1.1.1 + + flutter_lints: 1.0.4 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec