Skip to content

Declare path dep in path_package/negative fixture - #58

Merged
kevmoo merged 1 commit into
mainfrom
fixture-path-dep
Oct 3, 2026
Merged

kevmoo merged 1 commit into
mainfrom
fixture-path-dep

Conversation

@kevmoo

@kevmoo kevmoo commented Oct 3, 2026

Copy link
Copy Markdown
Owner
  • path_package/negative/lib/idiomatic.dart imports package:path; the
    fixture pubspec now says so (path: ^1.9.0).
  • Drop the depend_on_referenced_packages exemption from
    test/fixtures/analysis_options.yaml added in Add canonical analysis_options.yaml and fix resulting lints #57 to paper over this.
  • PathPackageRule never reads fixture pubspecs, so rule behavior is
    unchanged.

- `path_package/negative/lib/idiomatic.dart` imports `package:path`; the
  fixture pubspec now says so (`path: ^1.9.0`).
- Drop the `depend_on_referenced_packages` exemption from
  `test/fixtures/analysis_options.yaml` added in #57 to paper over this.
- `PathPackageRule` never reads fixture pubspecs, so rule behavior is
  unchanged.
@kevmoo
kevmoo merged commit d3439fb into main Oct 3, 2026
5 checks passed
@kevmoo
kevmoo deleted the fixture-path-dep branch October 3, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant