We agreed that we should implement a rule to enforce that private methods are below public methods, as this is explained in Clean Code page 84/85: “Vertical Ordering”. I don’t see any option in the editorconfig or in SonarQube to report a violation of access modifier ordering.
How can we change the configuration in either the editorconfig or SonarQube to report a violation in the ordering of access modifiers?