Skip to content

Commit

Permalink
remove no_wildcard_variable_uses; improve testing (#156)
Browse files Browse the repository at this point in the history
* remove no_wildcard_variable_uses; improve testing

* update workflow min. to 3.0

* fail-fast: false

* fix workflow file
  • Loading branch information
devoncarew authored Sep 28, 2023
1 parent c266a04 commit 296efaf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [3.0.0, stable, beta]

steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: ${{ matrix.sdk }}

- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## 3.0.0-beta.2

- Remove `no_wildcard_variable_uses` from core.

## 3.0.0-beta

- `core`:
- added `collection_methods_unrelated_type`
- added `implicit_call_tearoffs`
- added `no_wildcard_variable_uses`
- added `secure_pubspec_urls`
- added `type_literal_in_constant_pattern`
- added `use_string_in_part_of_directives`
Expand Down
1 change: 0 additions & 1 deletion lib/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ linter:
- hash_and_equals
- implicit_call_tearoffs
- no_duplicate_case_values
- no_wildcard_variable_uses
- non_constant_identifier_names
- null_check_on_nullable_type_parameter
- package_prefixed_library_names
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: lints
version: 3.0.0-beta
version: 3.0.0-beta.2
description: >
Official Dart lint rules. Defines the 'core' and 'recommended' set of lints
suggested by the Dart team.
Expand Down
1 change: 0 additions & 1 deletion rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
| [`hash_and_equals`](https://dart.dev/lints/hash_and_equals) | Always override `hashCode` if overriding `==`. ||
| [`implicit_call_tearoffs`](https://dart.dev/lints/implicit_call_tearoffs) | Explicitly tear-off `call` methods when using an object as a Function. ||
| [`no_duplicate_case_values`](https://dart.dev/lints/no_duplicate_case_values) | Don't use more than one case with same value. ||
| [`no_wildcard_variable_uses`](https://dart.dev/lints/no_wildcard_variable_uses) | Don't use wildcard parameters or variables. | |
| [`non_constant_identifier_names`](https://dart.dev/lints/non_constant_identifier_names) | Name non-constant identifiers using lowerCamelCase. ||
| [`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. ||
| [`package_prefixed_library_names`](https://dart.dev/lints/package_prefixed_library_names) | Prefix library names with the package name and a dot-separated path. | |
Expand Down

0 comments on commit 296efaf

Please sign in to comment.