Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 296efaf

Browse files
authored
remove no_wildcard_variable_uses; improve testing (#156)
* remove no_wildcard_variable_uses; improve testing * update workflow min. to 3.0 * fail-fast: false * fix workflow file
1 parent c266a04 commit 296efaf

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.github/workflows/validate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ on:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
sdk: [3.0.0, stable, beta]
1721

1822
steps:
1923
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
2024
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
25+
with:
26+
sdk: ${{ matrix.sdk }}
2127

2228
- run: dart pub get
2329
- run: dart format --output=none --set-exit-if-changed .

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
## 3.0.0-beta.2
2+
3+
- Remove `no_wildcard_variable_uses` from core.
4+
15
## 3.0.0-beta
26

37
- `core`:
48
- added `collection_methods_unrelated_type`
59
- added `implicit_call_tearoffs`
6-
- added `no_wildcard_variable_uses`
710
- added `secure_pubspec_urls`
811
- added `type_literal_in_constant_pattern`
912
- added `use_string_in_part_of_directives`

lib/core.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ linter:
2121
- hash_and_equals
2222
- implicit_call_tearoffs
2323
- no_duplicate_case_values
24-
- no_wildcard_variable_uses
2524
- non_constant_identifier_names
2625
- null_check_on_nullable_type_parameter
2726
- package_prefixed_library_names

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: lints
2-
version: 3.0.0-beta
2+
version: 3.0.0-beta.2
33
description: >
44
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
55
suggested by the Dart team.

rules.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
| [`hash_and_equals`](https://dart.dev/lints/hash_and_equals) | Always override `hashCode` if overriding `==`. ||
2121
| [`implicit_call_tearoffs`](https://dart.dev/lints/implicit_call_tearoffs) | Explicitly tear-off `call` methods when using an object as a Function. ||
2222
| [`no_duplicate_case_values`](https://dart.dev/lints/no_duplicate_case_values) | Don't use more than one case with same value. ||
23-
| [`no_wildcard_variable_uses`](https://dart.dev/lints/no_wildcard_variable_uses) | Don't use wildcard parameters or variables. | |
2423
| [`non_constant_identifier_names`](https://dart.dev/lints/non_constant_identifier_names) | Name non-constant identifiers using lowerCamelCase. ||
2524
| [`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. ||
2625
| [`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)