Skip to content

Add no_wildcard_variable_use and publish#932

Merged
natebosch merged 2 commits intomainfrom
wildcard-lint
Jan 30, 2026
Merged

Add no_wildcard_variable_use and publish#932
natebosch merged 2 commits intomainfrom
wildcard-lint

Conversation

@natebosch
Copy link
Copy Markdown
Member

Closes #832

@natebosch natebosch requested a review from a team as a code owner January 28, 2026 21:52
@github-actions
Copy link
Copy Markdown

Package publishing

Package Version Status Publish tag (post-merge)
package:args 2.8.0 ready to publish args-v2.8.0
package:async 2.13.1-wip WIP (no publish necessary)
package:characters 1.4.1 already published at pub.dev
package:collection 1.20.0-wip WIP (no publish necessary)
package:convert 3.1.3-wip WIP (no publish necessary)
package:crypto 3.0.7 already published at pub.dev
package:fixnum 1.2.0-wip WIP (no publish necessary)
package:lints 6.1.0 ready to publish lints-v6.1.0
package:logging 1.3.1-wip WIP (no publish necessary)
package:os_detect 2.0.4-wip WIP (no publish necessary)
package:path 1.9.2-wip WIP (no publish necessary)
package:platform 3.1.7-wip WIP (no publish necessary)
package:typed_data 1.4.1-wip WIP (no publish necessary)

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

@github-actions
Copy link
Copy Markdown

PR Health

License Headers ✔️
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/collection/benchmark/legacy_quicksort.dart

This check can be disabled by tagging the PR with skip-license-check.

API leaks ✔️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources

This check can be disabled by tagging the PR with skip-leaking-check.

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
lints None 6.0.0 6.1.0 6.0.0 ✔️

This check can be disabled by tagging the PR with skip-breaking-check.

Coverage ✔️
File Coverage

This check for test coverage is informational (issues shown here will not fail the PR).

This check can be disabled by tagging the PR with skip-coverage-check.

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

Copy link
Copy Markdown
Member

@leafpetersen leafpetersen left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@natebosch natebosch merged commit 07a8972 into main Jan 30, 2026
14 checks passed
@natebosch natebosch deleted the wildcard-lint branch January 30, 2026 21:31
Comment thread pkgs/lints/CHANGELOG.md
@@ -1,10 +1,12 @@
## 6.1.0-wip
## 6.1.0
Copy link
Copy Markdown
Contributor

@goderbauer goderbauer Feb 4, 2026

Choose a reason for hiding this comment

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

In the past we've considered it a breaking change to add lints (because it can surface new warnings that may break people's CI) and the policy was to do major version bump for those. Did the policy change?

FWIW, I can't find this written down in the lints package, but we documented it on the flutter_lints package:

Adding a lint to the package may create new warnings for existing users and is therefore considered to be a breaking change, which will require a major version bump.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Did the policy change?

Not officially. Future publishes should follow the old procedure.
#923 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core/recommended lints to support wildcard variables

4 participants