Skip to content

Commit ba28410

Browse files
upgrade: update dependency lints to v3 (#446)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [lints](https://togithub.com/dart-lang/lints) | dev_dependencies | major | `^2.0.0` -> `^3.0.0` | --- ### Release Notes <details> <summary>dart-lang/lints (lints)</summary> ### [`v3.0.0`](https://togithub.com/dart-lang/lints/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://togithub.com/dart-lang/lints/compare/v2.1.1...v3.0.0) - `core`: - added `collection_methods_unrelated_type` - added `dangling_library_doc_comments` - added `implicit_call_tearoffs` - added `secure_pubspec_urls` - added `type_literal_in_constant_pattern` - added `use_string_in_part_of_directives` - removed `iterable_contains_unrelated_type` - removed `list_remove_unrelated_type` - `recommended`: - added `unnecessary_to_list_in_spreads` - added `use_super_parameters` - removed `prefer_equal_for_default_values` - removed `prefer_void_to_null` - Add info about which lints have quick fixes to the package's readme. - Move the list of lint rules from the readme to a separate [rules.md](https://togithub.com/dart-lang/lints/blob/main/rules.md) file. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/FlutterGen/flutter_gen). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex Li <[email protected]>
1 parent 27fd2d9 commit ba28410

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ analyzer:
66
- 'example'
77
- '**.g.dart'
88
- 'test_resources/**'
9-
109
errors:
1110
unnecessary_import: error
1211
unawaited_futures: error
@@ -28,3 +27,4 @@ linter:
2827
use_to_and_as_if_applicable: true
2928
unnecessary_lambdas: true
3029
use_raw_strings: true
30+
use_super_parameters: false

packages/command/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ dependencies:
1717
args: ^2.0.0
1818

1919
dev_dependencies:
20-
lints: ^2.0.0
20+
lints: any # Ignoring the version to allow editing across SDK versions.
2121
test: ^1.16.0
2222
test_process: ^2.0.0

packages/core/lib/utils/map.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// Copy from https://pub.dev/packages/merge_map
1+
// Copy from https://pub.dev/packages/merge_map
22

33
/// Exposes the [mergeMap] function, which... merges Maps.
44
_copyValues<K, V>(

packages/core/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies:
2828
pub_semver: ^2.0.0
2929

3030
dev_dependencies:
31-
lints: ^2.0.0
31+
lints: any # Ignoring the version to allow editing across SDK versions.
3232
test: ^1.16.0
3333
build_runner: ^2.0.0
3434
json_serializable: ^6.0.0

packages/runner/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ dependencies:
1818
path: ^1.8.0
1919

2020
dev_dependencies:
21-
lints: ^2.0.0
21+
lints: any # Ignoring the version to allow editing across SDK versions.
2222
build_test: ^2.0.0

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ environment:
44
sdk: '>=2.17.0 <4.0.0'
55

66
dev_dependencies:
7-
lints: ^2.0.0
7+
lints: any # Ignoring the version to allow editing across SDK versions.
88
melos: ^3.1.1

0 commit comments

Comments
 (0)