Skip to content

Commit f38b780

Browse files
authored
[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
1 parent 18f1dfd commit f38b780

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

packages/flutter_lints/CHANGELOG.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
## NEXT
2-
3-
* Removed the following lints:
4-
* `prefer_const_constructors` (see https://github.com/dart-lang/lints/issues/205)
1+
## 5.0.0
2+
3+
* Updates `package:lints` dependency to version 5.0.0, with the following changes:
4+
* adds `invalid_runtime_check_with_js_interop_types`
5+
* adds `unnecessary_library_name`
6+
* removes `avoid_null_checks_in_equality_operators`
7+
* Removes the following lints (see https://github.com/dart-lang/lints/issues/205):
8+
* `prefer_const_constructors`
59
* `prefer_const_declarations`
610
* `prefer_const_literals_to_create_immutables`
7-
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
11+
* Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
812

913
## 4.0.0
1014

packages/flutter_lints/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: flutter_lints
22
description: Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.
33
repository: https://github.com/flutter/packages/tree/main/packages/flutter_lints
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_lints%22
5-
version: 4.0.0
5+
version: 5.0.0
66

77
environment:
8-
sdk: ^3.3.0
8+
sdk: ^3.5.0
99

1010
dependencies:
11-
lints: ^4.0.0
11+
lints: ^5.0.0
1212
# Code is not allowed in this package. Do not add any dependencies or dev_dependencies.
1313

1414
topics:

0 commit comments

Comments
 (0)