Closed
Description
I suggest add rule: Class cannot be publish.
I need the rule in the following case: Inside library and i want to sure all my class are internal or private, exclude API classes. We have this rule in custom company rule set. We want to contribute the rule to origin project, like an optional rule. Maybe someone need this rule too.
Are rule valid to be in the origin project?
We already discussed issue in KtLint pinterest/ktlint#795
I migrate my project to Detekt at the moment.