Skip to content

Commit

Permalink
Fix reqex for matching fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhock authored Nov 4, 2024
1 parent b2d679b commit ee8c7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void shouldFulfillConstraints() {
.naming(naming -> naming
.classesShouldNotMatch(".*Impl")
.methodsShouldNotMatch("^(?!foo$|bar$).*")
.fieldsShouldNotMatch("^(?!.*(List|Set|Map)$).*")
.fieldsShouldNotMatch(".*(List|Set|Map)$")
.fieldsShouldMatch("com.enofex.taikai.Matcher", "matcher")
.constantsShouldFollowConventions()
.interfacesShouldNotHavePrefixI()))
Expand Down

0 comments on commit ee8c7fa

Please sign in to comment.