Descriptionenhance ContextBuilder getAnalysisOptions to handle lints
This updates ContextBuilder to process the --lints command line option:
* --[no-]lints enables (or disables) lints
* if --lints but no lints specified in analysis options
then the default set of lints is used
* if --no-lints then lints are turned off
regardless of what is specified in the analysis options
* if neither --lints nor --no-lints are specified
then lints are turned on iff analysis options specifies lints
My next step is to update analyzer_cli to use ContextBuilder getAnalysisOptions
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/289888cd0edbf225d4d9d09e583d884f2e0cbbb3
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|