You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Official guidelines for sharing code among platforms suggest using directories like nativeMain. Diktat now allows only common* and platform-specific names. We should add a new configuration option in cofig.
Environment information
diktat version: 0.4.0
The text was updated successfully, but these errors were encountered:
We have discussed it previously, but now, digging a little bit more into the world of kotlin multiplatform, I see that people use custom directory names more often than we have thought before: not only nativeMain, but things like mobileMain, commonMobileMain or even nonJvmMain.
Describe the bug
Official guidelines for sharing code among platforms suggest using directories like
nativeMain
. Diktat now allows onlycommon*
and platform-specific names. We should add a new configuration option in cofig.Environment information
The text was updated successfully, but these errors were encountered: