| Index: pkg/analyzer/README.md
|
| diff --git a/pkg/analyzer/README.md b/pkg/analyzer/README.md
|
| index 18dd9b23a1c0c6d86d66152cabe8273fc9e992b8..6915a5854971f70ad7a76df8785376d183775417 100644
|
| --- a/pkg/analyzer/README.md
|
| +++ b/pkg/analyzer/README.md
|
| @@ -15,22 +15,19 @@ by emailing our [list][].
|
|
|
| ## Configuring the analyzer
|
|
|
| -Both `dartanalyzer` and Dart Analysis Server can be configured
|
| -with a `.analysis_options` file. This YAML file can control which files
|
| -and paths are analyzed, which lints are applied, and more.
|
| -
|
| -If you are embedding the analyzer library in your project, you are
|
| -responsible for finding the `.analysis_options` file, parsing it,
|
| -and configuring the analyzer.
|
| -
|
| -The `.analysis_options` file should live
|
| -at the root of your project (for example, next to your `pubspec.yaml`).
|
| -Different embedders of analyzer, such as `dartanalyzer` or Dart Analysis Server,
|
| -may choose to find the file in various different ways. Consult their
|
| -documentation to learn more.
|
| -
|
| -Here is an example file that instructs the analyzer
|
| -to ignore two files:
|
| +Both `dartanalyzer` and Dart Analysis Server can be configured with either an
|
| +`analysis_options.yaml` or `.analysis_options` file. This YAML file can control
|
| +which files and paths are analyzed, which lints are applied, and more.
|
| +
|
| +If you are embedding the analyzer library in your project, you are responsible
|
| +for finding the analysis options file, parsing it, and configuring the analyzer.
|
| +
|
| +The analysis options file should live at the root of your project (for example,
|
| +next to your `pubspec.yaml`). Different embedders of analyzer, such as
|
| +`dartanalyzer` or Dart Analysis Server, may choose to find the file in various
|
| +different ways. Consult their documentation to learn more.
|
| +
|
| +Here is an example file that instructs the analyzer to ignore two files:
|
|
|
| ```yaml
|
| analyzer:
|
|
|