[package:flutter_lints] update the dep on package:lints to 5.0.0 and 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 https://github.com/dart-lang/lints/issues/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
This commit is contained in:
Devon Carew
2024-09-25 13:12:46 -07:00
committed by GitHub
parent 18f1dfd7e8
commit f38b780f53
2 changed files with 11 additions and 7 deletions

View File

@@ -1,10 +1,14 @@
## NEXT
## 5.0.0
* Removed the following lints:
* `prefer_const_constructors` (see https://github.com/dart-lang/lints/issues/205)
* 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

View File

@@ -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: