Skip to content

Dart: stop ignoring .packages - #4950

Open
JayPokale wants to merge 1 commit into
github:mainfrom
JayPokale:dart-drop-packages
Open

JayPokale wants to merge 1 commit into
github:mainfrom
JayPokale:dart-drop-packages

Conversation

@JayPokale

Copy link
Copy Markdown

Link to the application or project's homepage

https://dart.dev

Reasons for making this change

.packages was deprecated in Dart 2.8 and fully desupported in 2.18, so dart pub get no longer writes it. I removed the stale line and left the rest of the template alone.

Links to documentation supporting these rule changes

Merge and Approval Steps

@JayPokale
JayPokale requested a review from a team as a code owner November 30, 2026 08:18
Copilot AI adaptive review requested due to automatic review settings November 30, 2026 08:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The obsolete .packages ignore rule was removed while the remaining Dart and pub-generated file rules were preserved, with no active review issues identified.

No open issues 🎉

What changed in this PR

Updates the Dart gitignore template to stop excluding the obsolete .packages file, which is no longer generated by modern Dart SDK versions.

Changes:

  • Removes the deprecated .packages ignore rule from Dart.gitignore.
  • Leaves the remaining Dart and pub-generated file rules unchanged.
File Description
Dart.gitignore Removes the obsolete .packages ignore entry while preserving the remaining Dart and pub-generated file rules.

Review effort: Lite (adaptive)

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.

2 participants