Skip to content

Commit 8e09204

Browse files
committed
Drop TODO for prefer_const_constructors lint
This has been dropped from the upstream "recommended" set [1]. Some benchmarks haven't revealed sizable performance gains [2]. Let's just ignore it instead of fixing 294 warnings. [1]: dart-lang/core#843 [2]: dart-lang/core#833
1 parent 2a457f6 commit 8e09204

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

analysis_options.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ linter:
1515
avoid_catches_without_on_clauses: true
1616
unawaited_futures: true
1717
unnecessary_final: true
18-
# Disabled because we have so many of these
19-
# TODO: get rid of them
20-
prefer_const_constructors: false
2118
prefer_is_empty: false
2219
prefer_is_not_empty: false
2320
prefer_is_not_operator: false

0 commit comments

Comments
 (0)