Fix analyzer

This commit is contained in:
Christian Pauly 2020-01-02 19:00:12 +01:00
parent 29d15768a1
commit 243f7b527a
4 changed files with 17 additions and 12 deletions

11
analysis_options.yaml Normal file
View file

@ -0,0 +1,11 @@
include: package:pedantic/analysis_options.yaml
linter:
rules:
# - camel_case_types
analyzer:
errors:
todo: ignore
exclude:
- lib/generated_plugin_registrant.dart

View file

@ -78,7 +78,6 @@
6D40C7CF338C6054DF530EE6 /* Pods-Runner.release.xcconfig */, 6D40C7CF338C6054DF530EE6 /* Pods-Runner.release.xcconfig */,
B7CDE45F1181122C41ED566D /* Pods-Runner.profile.xcconfig */, B7CDE45F1181122C41ED566D /* Pods-Runner.profile.xcconfig */,
); );
name = Pods;
path = Pods; path = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
@ -181,6 +180,7 @@
TargetAttributes = { TargetAttributes = {
97C146ED1CF9000F007C117D = { 97C146ED1CF9000F007C117D = {
CreatedOnToolsVersion = 7.3.1; CreatedOnToolsVersion = 7.3.1;
DevelopmentTeam = 4HV29TJN3A;
LastSwiftMigration = 1100; LastSwiftMigration = 1100;
}; };
}; };
@ -375,6 +375,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 4HV29TJN3A;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
@ -509,6 +510,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 4HV29TJN3A;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
@ -536,6 +538,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 4HV29TJN3A;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",

View file

@ -113,13 +113,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.7.4" version: "0.7.4"
flutter_responsive_screen:
dependency: "direct main"
description:
name: flutter_responsive_screen
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
flutter_speed_dial: flutter_speed_dial:
dependency: "direct main" dependency: "direct main"
description: description:
@ -215,7 +208,7 @@ packages:
source: hosted source: hosted
version: "1.5.1" version: "1.5.1"
pedantic: pedantic:
dependency: transitive dependency: "direct dev"
description: description:
name: pedantic name: pedantic
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"

View file

@ -20,8 +20,6 @@ dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
flutter_responsive_screen: ^1.0.0
# The following adds the Cupertino Icons font to your application. # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons. # Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2 cupertino_icons: ^0.1.2
@ -46,7 +44,7 @@ dev_dependencies:
sdk: flutter sdk: flutter
flutter_launcher_icons: "^0.7.3" flutter_launcher_icons: "^0.7.3"
pedantic: ^1.5.0
flutter_icons: flutter_icons:
android: "launcher_icon" android: "launcher_icon"