Skip to content

Commit

Permalink
Update lib/src/rules/no_wildcard_variable_uses.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Marya <[email protected]>
  • Loading branch information
pq and MaryaBelanger authored May 30, 2023
1 parent 07f40d7 commit 17d0582
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/src/rules/no_wildcard_variable_uses.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ const _desc = r"Don't use wildcard parameters or variables.";
const _details = r'''
**DON'T** use wildcard parameters or variables.
In a future version of the Dart langauge, wildcard parameters and local
variables (e.g., named with just underscores like `_`, `__`, `___`, etc.) will
become non-binding. When that happens, existing code that uses wildcard
parameters or variables will break. In anticipation and to make adoption
easier, this lint disallows wildcard and variable parameter uses.
Wildcard parameters and local variables
(e.g. underscore-only names like `_`, `__`, `___`, etc.) will
become non-binding in a future version of the Dart language.
Any existing code that uses wildcard parameters or variables will
break. In anticipation of this change, and to make adoption easier,
this lint disallows wildcard and variable parameter uses.
**BAD:**
Expand Down

0 comments on commit 17d0582

Please sign in to comment.