-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresarea-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.linter-new-language-feature
Milestone
Description
A meta-issue to discuss and track work on linter support for patterns.
Updates:
- update
unnecessary_parenthesis
to support parenthesized patterns #59037 - ⚙️ extend
non_constant_identifier_names
for destructured variable declarations #58858- complete pending parser implementation of
pattern-for
statements
- complete pending parser implementation of
- 📄 document that
no_duplicate_case_values
is a no-op in Dart 3.0+ #58863 - 🐞
unnecessary_parenthesis
false positive withrecords
#59035 - update
unnecessary_const
to not flagconst
s in case expressions (required for patterns migration) #59029 - extend
constant_identifier_names
for destructured final variable declarations #58859 -
dart2js: please validate positions #3675
Additions:
- 🦅 ➕ dart-lang/linter#3671
- ⚙️ ➕ implement:
invalid_case_patterns
#59027 - 🤔 ➕ consider new lint:
use_logical_or
#58861 - 🤔 ➕ consider a new lint:
use_switch_expressions
#58862
Metadata
Metadata
Assignees
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresarea-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.linter-new-language-feature