This configuration is specific to the SonarTS plugin. The enforcer-maven-plugin allows to put some rules like this one. Checking that the size stay within a range allows to detect packaging issues (like embedding unwanted dependencies/resources). It is not specific to SonarQube plugin development.