forked from detekt/detekt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to add a reason to
ForbiddenImport
(detekt#4909)
* Improve tests * Improve issue message * Add utility to help testing ValueWithReason configurations * Add support for reasons in ForbiddenImport * Improve non-compilant * Update detekt-rules-style/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/ForbiddenImportSpec.kt Co-authored-by: marschwar <marschwar@users.noreply.github.com> * data class Co-authored-by: marschwar <marschwar@users.noreply.github.com>
- Loading branch information
1 parent
40324fb
commit c48b400
Showing
4 changed files
with
66 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters