From 129818a205274bc7e587192c6546cd856b8d5b0c Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Fri, 28 Jul 2023 12:59:38 +1000 Subject: [PATCH] `game_template`: Revert analysis for `flutter_lints` (#1971) ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md --- game_template/analysis_options.yaml | 2 +- game_template/pubspec.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/game_template/analysis_options.yaml b/game_template/analysis_options.yaml index a5a1a2902..12b7a31d2 100644 --- a/game_template/analysis_options.yaml +++ b/game_template/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:analysis_defaults/flutter.yaml +include: package:flutter_lints/flutter.yaml linter: rules: diff --git a/game_template/pubspec.yaml b/game_template/pubspec.yaml index df6af8e0f..6c533f666 100644 --- a/game_template/pubspec.yaml +++ b/game_template/pubspec.yaml @@ -30,8 +30,7 @@ dependencies: in_app_purchase: ^3.0.1 # In-app purchases dev_dependencies: - analysis_defaults: - path: ../analysis_defaults + flutter_lints: ^2.0.2 flutter_test: sdk: flutter flutter_launcher_icons: ^0.13.0