Create `analysis_defaults` package (#1654)

* Create `analysis_defaults` package

* Update analysis_defaults/pubspec.yaml

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

---------

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
pull/1660/head
Brett Morgan 2 years ago committed by GitHub
parent 79bd62952d
commit 3e9bb78aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -14,9 +14,10 @@ dependencies:
sensors: ^2.0.3
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -13,10 +13,11 @@ dependencies:
sdk: flutter
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
pigeon: ">=2.0.2 <9.0.0"
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -12,12 +12,13 @@ dependencies:
provider: ^6.0.2
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_driver:
sdk: flutter
espresso: ^0.2.0
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -14,9 +14,10 @@ dependencies:
cupertino_icons: ^1.0.0
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -14,9 +14,10 @@ dependencies:
sensors: ^2.0.3
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -12,12 +12,13 @@ dependencies:
provider: ^6.0.2
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_driver:
sdk: flutter
espresso: ^0.2.0
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -0,0 +1,3 @@
# https://dart.dev/guides/libraries/private-files
# Created by `dart pub`
.dart_tool/

@ -0,0 +1,10 @@
name: analysis_defaults
description: Analysis defaults for flutter/samples
publish_to: none
environment:
sdk: '>=2.19.0-0 <4.0.0'
# NOTE: Code is not allowed in this package. Do not add dependencies.
dependencies:
flutter_lints: ^2.0.1

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -13,9 +13,10 @@ dependencies:
sdk: flutter
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1,4 +1,4 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml
linter:
rules:

@ -13,9 +13,10 @@ dependencies:
go_router: ^6.0.0
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
# plugin is not yet part of the flutter framework
window_size:

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -19,7 +19,8 @@ dependencies:
uuid: ^3.0.6
dev_dependencies:
flutter_lints: ^2.0.1
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter

@ -1,4 +1,4 @@
include: ../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml
analyzer:
exclude: [lib/src/**.g.dart]

@ -33,11 +33,12 @@ dependencies:
ref: 12decbe0f592e14e03223f6f2c0c7e0e2dbd70a1
dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
async: ^2.8.2
build: ^2.2.1
build_runner: ^2.1.7
built_value_generator: ^8.3.0
flutter_lints: ^2.0.1
flutter_test:
sdk: flutter
grinder: ^0.9.0

@ -1,4 +1,4 @@
include: ../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml
analyzer:
exclude: [lib/src/**.g.dart]

@ -32,11 +32,12 @@ dependencies:
ref: 12decbe0f592e14e03223f6f2c0c7e0e2dbd70a1
dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
async: ^2.8.2
build: ^2.2.1
build_runner: ^2.1.7
built_value_generator: ^8.3.0
flutter_lints: ^2.0.1
flutter_test:
sdk: flutter
grinder: ^0.9.0

@ -1 +1 @@
include: ../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -39,15 +39,11 @@ dependencies:
url_launcher: ^6.1.6
dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
flutter_test:
sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -1 +1 @@
include: ../../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -15,9 +15,10 @@ dependencies:
cupertino_icons: ^1.0.2
dev_dependencies:
analysis_defaults:
path: ../../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -20,9 +20,10 @@ dependencies:
path: ../federated_plugin_macos
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
plugin:

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -11,9 +11,10 @@ dependencies:
sdk: flutter
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
plugin:

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -12,6 +12,7 @@ dependencies:
plugin_platform_interface: ^2.0.2
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -15,11 +15,12 @@ dependencies:
path: ../federated_plugin_platform_interface
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
flutter_lints: ^2.0.1
mockito: ^5.0.2
flutter:

@ -1 +1 @@
include: ../../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -11,9 +11,10 @@ dependencies:
sdk: flutter
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
plugin:

@ -1,4 +1,4 @@
include: ../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml
analyzer:
exclude:

@ -32,10 +32,11 @@ dependencies:
path: plugins/window_size
dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
flutter_test:
sdk: flutter
build_runner: ^2.0.6
flutter_lints: ^2.0.1
hive_generator: ^2.0.0
json_serializable: ^6.2.0

@ -1 +1 @@
include: ../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -18,10 +18,10 @@ dependencies:
url_launcher: ^6.1.8
dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
integration_test:
sdk: flutter

@ -1 +1 @@
include: ../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -12,7 +12,8 @@ dependencies:
google_fonts: ^4.0.0
dev_dependencies:
flutter_lints: ^2.0.0
analysis_defaults:
path: ../../analysis_defaults
flutter_test:
sdk: flutter

@ -1 +1 @@
include: ../../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -23,8 +23,9 @@ dependencies:
uuid: ^3.0.0
dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
build_runner: ^2.1.0
flutter_lints: ^2.0.1
flutter_test:
sdk: flutter
grinder: ^0.9.0

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -15,9 +15,10 @@ dependencies:
location: ^4.0.0-nullsafety.0
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -21,11 +21,12 @@ dependencies:
go_router: ^6.0.0
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
json_serializable: ^6.2.0
build_runner: ^2.1.8
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1,4 +1,4 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml
linter:
rules:

@ -30,11 +30,11 @@ dependencies:
in_app_purchase: ^3.0.1 # In-app purchases
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.11.0
flutter_lints: ^2.0.1
test: ^1.19.0
flutter:

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -20,9 +20,10 @@ dependencies:
path: plugins/window_size
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -16,8 +16,9 @@ dependencies:
device_info: ^2.0.3
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -16,9 +16,10 @@ dependencies:
path: plugins/window_size
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1,4 +1,4 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml
analyzer:
exclude:

@ -19,12 +19,13 @@ dependencies:
path: plugins/window_size
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
build_runner: ^2.1.10
built_value_generator: ^8.3.0
json_serializable: ^6.1.6
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -18,10 +18,10 @@ dependencies:
url_launcher: ^6.1.8
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
integration_test:
sdk: flutter

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -22,7 +22,8 @@ dependencies:
path: plugins/window_size
dev_dependencies:
flutter_lints: ^2.0.1
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
test: ^1.16.0

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -19,9 +19,10 @@ dependencies:
collection: ^1.16.0
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
assets:

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -14,9 +14,10 @@ dependencies:
go_router: ^6.0.0
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -14,9 +14,10 @@ dependencies:
cupertino_icons: ^1.0.2
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -13,9 +13,10 @@ dependencies:
cupertino_icons: ^1.0.4
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -19,9 +19,10 @@ dependencies:
path: plugins/window_size
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -18,9 +18,10 @@ dependencies:
path: plugins/window_size
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1,4 +1,4 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml
# Files under typer/ are partially completed files, and often invalid
analyzer:

@ -22,7 +22,8 @@ dependencies:
path: plugins/window_size
dev_dependencies:
flutter_lints: ^2.0.1
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -36,16 +36,11 @@ dependencies:
cupertino_icons: ^1.0.2
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.0
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -15,12 +15,13 @@ dependencies:
go_router: ^6.0.0
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
test: ^1.16.8
flutter_lints: ^2.0.1
flutter:
uses-material-design: true

@ -1 +1 @@
include: ../analysis_options.yaml
include: package:analysis_defaults/flutter.yaml

@ -22,9 +22,10 @@ dependencies:
path: plugins/window_size
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
flutter_launcher_icons: ^0.11.0
flutter:

Loading…
Cancel
Save