From 4979e371a476670f928865bb4fc7bec6ce22a159 Mon Sep 17 00:00:00 2001 From: marschwar Date: Wed, 22 Jun 2022 18:28:53 +0200 Subject: [PATCH] Do not allow junit assertions (#4987) Co-authored-by: Markus Schwarz --- config/detekt/detekt.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index be1b32e3e..399eee6b8 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -182,6 +182,7 @@ style: active: true imports: - 'org.assertj.core.api.Assertions' + - 'org.junit.jupiter.api.Assertions*' ForbiddenMethodCall: active: true methods: