Skip to content

Commit

Permalink
[package:flutter_lints] update the dep on package:lints to 5.0.0 an…
Browse files Browse the repository at this point in the history
…d the sdk dependency to 3.5.0 (#7704)

- rev `package:flutter_lints` to 5.0.0 in prep for publishing
- update our dep on package:lints to the latest stable published version
(`5.0.0`)
- update our sdk dep to reflect the package:lints one
- update the changelog to reflect the new changes brought in from
package:lints

Closes dart-lang/lints#205.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] page, which explains my
responsibilities.
- [x] I read and followed the [relevant style guides] and ran the
auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages
repo does use `dart format`.)
- [x] I signed the [CLA].
- [x] The title of the PR starts with the name of the package surrounded
by square brackets, e.g. `[shared_preferences]`
- [x] I [linked to at least one issue that this PR fixes] in the
description above.
- [x] I updated `pubspec.yaml` with an appropriate new version according
to the [pub versioning philosophy], or this PR is [exempt from version
changes].
- [x] I updated `CHANGELOG.md` to add a description of the change,
[following repository CHANGELOG style], or this PR is [exempt from
CHANGELOG changes].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/packages/blob/main/CONTRIBUTING.md
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md
[relevant style guides]:
https://github.com/flutter/packages/blob/main/CONTRIBUTING.md#style
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[linked to at least one issue that this PR fixes]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview
[pub versioning philosophy]: https://dart.dev/tools/pub/versioning
[exempt from version changes]:
https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#version
[following repository CHANGELOG style]:
https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changelog-style
[exempt from CHANGELOG changes]:
https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#changelog
[test-exempt]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests
  • Loading branch information
devoncarew authored Sep 25, 2024
1 parent 18f1dfd commit f38b780
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 9 additions & 5 deletions packages/flutter_lints/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
## NEXT

* Removed the following lints:
* `prefer_const_constructors` (see https://github.com/dart-lang/lints/issues/205)
## 5.0.0

* Updates `package:lints` dependency to version 5.0.0, with the following changes:
* adds `invalid_runtime_check_with_js_interop_types`
* adds `unnecessary_library_name`
* removes `avoid_null_checks_in_equality_operators`
* Removes the following lints (see https://github.com/dart-lang/lints/issues/205):
* `prefer_const_constructors`
* `prefer_const_declarations`
* `prefer_const_literals_to_create_immutables`
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
* Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.

## 4.0.0

Expand Down
6 changes: 3 additions & 3 deletions packages/flutter_lints/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: flutter_lints
description: Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.
repository: https://github.com/flutter/packages/tree/main/packages/flutter_lints
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_lints%22
version: 4.0.0
version: 5.0.0

environment:
sdk: ^3.3.0
sdk: ^3.5.0

dependencies:
lints: ^4.0.0
lints: ^5.0.0
# Code is not allowed in this package. Do not add any dependencies or dev_dependencies.

topics:
Expand Down

0 comments on commit f38b780

Please sign in to comment.