Join Slack
Hello! How to make Kotlin compiler issue an error when package name is not matching directory path?
# getting-started
p
PHondogo
11/10/2022, 8:06 PM
Hello! How to make Kotlin compiler issue an error when package name is not matching directory path?
e
ephemient
11/10/2022, 8:13 PM
use an external tool such as
https://detekt.dev/docs/rules/naming/#invalidpackagedeclaration
to enforce conventions like that, the Kotlin compiler doesn't
🙏 3
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by