Skip to content

Commit

Permalink
Fields should not match collection type name
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhock committed Nov 9, 2024
1 parent e9086b5 commit b38c63e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/java/com/enofex/taikai/ArchitectureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ void shouldFulfilConstrains() {
.shouldNotImport("org.junit.."))
.naming(naming -> naming
.packagesShouldMatchDefault()
.fieldsShouldNotMatch(".*(List|Set|Map)$")
.classesShouldNotMatch(".*Impl")
.interfacesShouldNotHavePrefixI()
.constantsShouldFollowConventions()))
Expand Down

0 comments on commit b38c63e

Please sign in to comment.