Skip to content

Commit 4ae44a7

Browse files
authored
add no_wildcard_variable_uses; rev to a new major version (dart-archive/lints#165)
* add no_wildcard_variable_uses; rev to a new major version * regen docs * test against sdk 3.1
1 parent 3b84d31 commit 4ae44a7

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

pkgs/lints/.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
sdk: [3.0.0, stable, beta]
20+
sdk: [3.1, stable, beta]
2121

2222
steps:
2323
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
24-
- uses: dart-lang/setup-dart@8a4b97ea2017cc079571daec46542f76189836b1
24+
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
2525
with:
2626
sdk: ${{ matrix.sdk }}
2727

pkgs/lints/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 4.0.0-wip
2+
3+
- `core`:
4+
- added `no_wildcard_variable_uses`
5+
- Updated the SDK lower-bound to 3.1.
6+
17
## 3.0.0
28

39
- `core`:

pkgs/lints/lib/core.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ linter:
2222
- hash_and_equals
2323
- implicit_call_tearoffs
2424
- no_duplicate_case_values
25+
- no_wildcard_variable_uses
2526
- non_constant_identifier_names
2627
- null_check_on_nullable_type_parameter
2728
- package_prefixed_library_names

pkgs/lints/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: lints
2-
version: 3.0.0
2+
version: 4.0.0-wip
33
description: >
44
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
55
suggested by the Dart team.
@@ -10,7 +10,7 @@ topics:
1010
- lints
1111

1212
environment:
13-
sdk: ^3.0.0
13+
sdk: ^3.1.0
1414

1515
# NOTE: Code is not allowed in this package - do not add dependencies.
1616
# dependencies:

pkgs/lints/rules.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
| [`hash_and_equals`](https://dart.dev/lints/hash_and_equals) | Always override `hashCode` if overriding `==`. ||
2222
| [`implicit_call_tearoffs`](https://dart.dev/lints/implicit_call_tearoffs) | Explicitly tear-off `call` methods when using an object as a Function. ||
2323
| [`no_duplicate_case_values`](https://dart.dev/lints/no_duplicate_case_values) | Don't use more than one case with same value. ||
24+
| [`no_wildcard_variable_uses`](https://dart.dev/lints/no_wildcard_variable_uses) | Don't use wildcard parameters or variables. | |
2425
| [`non_constant_identifier_names`](https://dart.dev/lints/non_constant_identifier_names) | Name non-constant identifiers using lowerCamelCase. ||
2526
| [`null_check_on_nullable_type_parameter`](https://dart.dev/lints/null_check_on_nullable_type_parameter) | Don't use null check on a potentially nullable type parameter. ||
2627
| [`package_prefixed_library_names`](https://dart.dev/lints/package_prefixed_library_names) | Prefix library names with the package name and a dot-separated path. | |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy