From f117aa19cda9d917564e60a29ff33dcef6bbfb8e Mon Sep 17 00:00:00 2001 From: Antonio Aversa Date: Thu, 15 Aug 2024 17:28:04 +0200 Subject: [PATCH] Modify rule S3257: add rspecator and fix resources layout (#4155) --- rules/S3257/dart/rule.adoc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/rules/S3257/dart/rule.adoc b/rules/S3257/dart/rule.adoc index 33e7b3ed34..6c11be3550 100644 --- a/rules/S3257/dart/rule.adoc +++ b/rules/S3257/dart/rule.adoc @@ -28,4 +28,26 @@ var occurrences = Map(); == Resources +=== Documentation + * Dart Docs - https://dart.dev/tools/linter-rules/prefer_collection_literals[Dart Linter rule - prefer_collection_literals] + +ifdef::env-github,rspecator-view[] + +''' +== Implementation Specification +(visible only on this page) + +=== Message + +Unnecessary constructor invocation. + +=== Highlighting + +The entire constructor invocation expression, including the type and the parentheses (e.g. `Set()`). + +''' +== Comments And Links +(visible only on this page) + +endif::env-github,rspecator-view[]