Commit cc1755aa authored by Dan Rubel's avatar Dan Rubel Committed by GitHub

move all analysis options to repo root (#5882)

This moves all of the various .analysis_options* files to the flutter repo root so that it's easier to
* remember to keep them all in sync, and
* easily refer customers to them
parent 33794d13
......@@ -218,8 +218,8 @@ class AnalyzeCommand extends FlutterCommand {
options.dartSdkPath = argResults['dart-sdk'];
options.packageMap = packages;
options.analysisOptionsFile = flutterRepo
? path.join(Cache.flutterRoot, '.analysis_options_flutter_analyze')
: path.join(Cache.flutterRoot, 'packages', 'flutter_tools', 'flutter_analysis_options');
? path.join(Cache.flutterRoot, '.analysis_options_repo')
: path.join(Cache.flutterRoot, '.analysis_options_user');
AnalysisDriver analyzer = new AnalysisDriver(options);
// TODO(pq): consider error handling
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment