diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 00000000..f9b30346 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1 @@ +include: package:flutter_lints/flutter.yaml diff --git a/pubspec.lock b/pubspec.lock index febe4938..5433c7ff 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -297,6 +297,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.0.2" + flutter_lints: + dependency: "direct dev" + description: + name: flutter_lints + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.4" flutter_localizations: dependency: "direct main" description: flutter @@ -440,6 +447,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.0.0" + lints: + dependency: transitive + description: + name: lints + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" logging: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index cfdd6d90..5efb8a95 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -83,6 +83,7 @@ dependencies: dev_dependencies: test: any bloc_test: any + flutter_lints: ^1.0.4 # flutter_test: # sdk: flutter # integration_test: