slackhq / slack-lints

A collection of custom Android/Kotlin lint checks we use in our Android and Kotlin code bases at Slack.
Apache License 2.0
222 stars 11 forks source link

Add an extra annotation-based check for value classes #151

Closed ZacSweers closed 9 months ago

ZacSweers commented 9 months ago

This adds an extra layer to the swiss cheese to try to capture these types. Since kotlin 1.5, kotlinc will generate this annotation onto JVM value classes.

Note we don't enable this check in our registry yet due to #88