From d8cc228277d3b160f4eecc123992fc12c482fc39 Mon Sep 17 00:00:00 2001 From: Antonio Aversa Date: Fri, 26 Jul 2024 15:45:54 +0200 Subject: [PATCH] Modify rule S2486: Exceptions should not be ignored (empty_catches) --- rules/S2486/dart/rule.adoc | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/rules/S2486/dart/rule.adoc b/rules/S2486/dart/rule.adoc index f00bddb15e..110be732f3 100644 --- a/rules/S2486/dart/rule.adoc +++ b/rules/S2486/dart/rule.adoc @@ -50,4 +50,26 @@ void save() { include::../see.adoc[] -* https://dart.dev/tools/linter-rules/empty_catches[Dart Lint rule] +* Dart Docs - https://dart.dev/tools/linter-rules/empty_catches[Dart Linter rule - empty_catches] + +ifdef::env-github,rspecator-view[] + +''' +== Implementation Specification +(visible only on this page) + +=== Message + +* Empty catch block. + +=== Highlighting + +The empty catch body. + +''' +== Comments And Links +(visible only on this page) + +include::../comments-and-links.adoc[] + +endif::env-github,rspecator-view[]