Can I use Konsist to enforce data class may only have val fields and may only use immutable collections?
#1639
Unanswered
cies
asked this question in
Ask a Question
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wanted end result.
I dont want to go back to the Java days, but my team is big so I want to set some rules: I wrote them in a custom Gradle tasks.
Konsist would be great to standardize this, and allow me to write more advanced rules. Like enforcing immutability.
What you tried so far.
Use some regexes and a file tree runner. It works more/less.
I found this discussion to contain some interesting points on immutability rules:
#1345
Beta Was this translation helpful? Give feedback.
All reactions