Skip to content

Commit 3493feb

Browse files
committed
Add CancellationException to the ignored exceptions
1 parent f5067ee commit 3493feb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

detekt.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ comments:
77

88
complexity:
99
excludes: ["**/src/test/resources/**"]
10-
10+
1111
empty-blocks:
1212
excludes: ["**/src/test/resources/**"]
13-
13+
1414
exceptions:
1515
excludes: ["**/src/test/resources/**"]
1616
SwallowedException:
1717
ignoredExceptionTypes:
18+
- CancellationException
1819
- InterruptedException
1920
- MalformedURLException
2021
- NumberFormatException
@@ -29,7 +30,7 @@ performance:
2930

3031
potential-bugs:
3132
excludes: ["**/src/test/resources/**"]
32-
33+
3334
style:
3435
excludes: ["**/src/test/resources/**"]
3536
MaxLineLength:

0 commit comments

Comments
 (0)