Add a way to ensure we have @JsonClass(generateAdapter = false) for enum class.

This is not ideal, but this will save us in the future.
This commit is contained in:
Benoit Marty 2020-06-28 22:06:03 +02:00
parent 85f713c8c7
commit bbf0b1e3ba

View File

@ -162,3 +162,6 @@ Formatter\.formatShortFileSize===1
### Use kotlin stdlib to test or compare strings
# DISABLED
# android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If it is ok, change the value in file forbidden_strings_in_code.txt
enum class===69