Open
Description
dart analyze
doesn't respect files in the exclude
section of a sub-package's analysis_options.yaml file
Steps to reproduce
- Clone github.com/dart-lang/dart-pad
- Run
pub get
for each package in thepkgs/
directory - From the root directory, run
dart analyze
. - Observe that analysis errors are reported for files that are listed in the
exclude
section of pkgs/dart_pad/analysis_options.yaml, such asbuild/
. Runningdart analyze
frompkgs/dart_pad
completes with no issues.