Open matthewnitschke-wk opened 4 months ago
It is possible, and common practice to add a include: package:<somePackage>/<someEntrypoint>.yaml within an analysis_options.yaml file
include: package:<somePackage>/<someEntrypoint>.yaml
analysis_options.yaml
For example, this is how pedantic and the newer lints package work
include: package:lints/recommended.yaml
Currently, dependency validator completely ignores this file, but it could, and probably should, audit the dependencies used within these files
I'm proposing the following rules regarding this file:
include
It is possible, and common practice to add a
include: package:<somePackage>/<someEntrypoint>.yaml
within ananalysis_options.yaml
fileFor example, this is how pedantic and the newer lints package work
Currently, dependency validator completely ignores this file, but it could, and probably should, audit the dependencies used within these files
I'm proposing the following rules regarding this file:
include
statement and is not declared within the pubspec.yaml file, the command should failinclude
AND is declared as a non-dev dependency, the command should fail