Migrate flutter analyze config to options.

More groundwork to get `analyze` and IDE output to agree.

See: https://github.com/dart-lang/sdk/issues/25723
This commit is contained in:
pq
2016-03-11 14:52:07 -08:00
parent b9f28e6f75
commit 0aa07baf70
2 changed files with 4 additions and 3 deletions

View File

@@ -283,10 +283,8 @@ class AnalyzeCommand extends FlutterCommand {
sdkBinaryName('dartanalyzer'),
// do not set '--warnings', since that will include the entire Dart SDK
'--ignore-unrecognized-flags',
'--supermixin',
'--enable-strict-call-checks',
'--enable-strict-call-checks', //TODO(pq): migrate to options once supported (dart/sdk#25983)
'--enable_type_checks',
'--strong',
'--package-warnings',
'--fatal-warnings',
'--fatal-hints',