Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2469)

Unified Diff: pkg/analyzer/lib/src/command_line/arguments.dart

Issue 2933753002: Run the sorter to reduce code churn (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/command_line/arguments.dart
diff --git a/pkg/analyzer/lib/src/command_line/arguments.dart b/pkg/analyzer/lib/src/command_line/arguments.dart
index 10bd00c2279065d854c758983f6721681adcc931..b59086b057a514ae0d0f9dcf22fc8af6ccd9b9fc 100644
--- a/pkg/analyzer/lib/src/command_line/arguments.dart
+++ b/pkg/analyzer/lib/src/command_line/arguments.dart
@@ -15,10 +15,14 @@ import 'package:args/args.dart';
import 'package:path/path.dart';
const String analysisOptionsFileOption = 'options';
+const String bazelAnalysisOptionsPath =
+ 'package:dart.analysis_options/default.yaml';
const String defineVariableOption = 'D';
const String enableInitializingFormalAccessFlag = 'initializing-formal-access';
const String enableStrictCallChecksFlag = 'enable-strict-call-checks';
const String enableSuperMixinFlag = 'supermixin';
+const String flutterAnalysisOptionsPath =
+ 'package:flutter/analysis_options_user.yaml';
const String ignoreUnrecognizedFlagsFlag = 'ignore-unrecognized-flags';
const String lintsFlag = 'lints';
const String noImplicitCastsFlag = 'no-implicit-casts';
@@ -27,14 +31,10 @@ const String packageDefaultAnalysisOptions = 'package-default-analysis-options';
const String packageRootOption = 'package-root';
const String packagesOption = 'packages';
const String sdkPathOption = 'dart-sdk';
+
const String sdkSummaryPathOption = 'dart-sdk-summary';
const String strongModeFlag = 'strong';
-const String bazelAnalysisOptionsPath =
- 'package:dart.analysis_options/default.yaml';
-const String flutterAnalysisOptionsPath =
- 'package:flutter/analysis_options_user.yaml';
-
/**
* Update [options] with the value of each analysis option command line flag.
*/
« no previous file with comments | « pkg/analyzer/lib/instrumentation/file_instrumentation.dart ('k') | pkg/analyzer/lib/src/dart/analysis/file_state.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698