Skip to content

Commit 90722f5

Browse files
committed
Update EmptyCatchBlock detekt rule
1 parent ac8c69f commit 90722f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

detekt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ complexity:
1010

1111
empty-blocks:
1212
excludes: ["**/src/test/resources/**"]
13+
EmptyCatchBlock:
14+
allowedExceptionNameRegex: '_|(cancel|interrupt|ignore|expected).*'
1315

1416
exceptions:
1517
excludes: ["**/src/test/resources/**"]

0 commit comments

Comments
 (0)