Closed skuzzle closed 6 years ago
This will be implemented as follows:
**
parts
3.2. p1 is more specific than p2 if p2 contains more *
parts
3.3. If both patterns contain equal amount of **
and *
parts, the pattern with the most specific last part is more specific than the otherReleased as 0.13.0
This would allow influences of rules to other rules. My favorite:
basePackage
pattern which matches the source fileIn this sample, source files from
com.foo.bar
would only be subject to the rules within the second group.Another approach could be that all groups are applied to a single source file and groups with a more specific
basePackage
can override rules from groups with less specificbasePackage
.