Skip to content

Commit

Permalink
Modify rule S7089: Add S7090 to related rules in resources
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioaversa authored Sep 27, 2024
1 parent 9ebf8f0 commit 3f4bf9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules/S7089/dart/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ final aList = [42, 43, 44, anInt];
=== Documentation

* Dart Docs - https://dart.dev/tools/linter-rules/prefer_inlined_adds[Dart Linter - prefer_inlined_adds]
* Dart Docs - https://dart.dev/language/operators#cascade-notation[Dart Cascade Notation]
* Dart API Reference - https://api.dart.dev/stable/dart-core/List/add.html[`List<E>.add`]

=== Related rules

* S3257 - Collection literals should be preferred
* S7090 - Spread collections should be preferred to chaining list insertions

ifdef::env-github,rspecator-view[]

Expand Down

0 comments on commit 3f4bf9b

Please sign in to comment.