hi, has anyone setup a lint check for hardcoded st...
# compose
c
hi, has anyone setup a lint check for hardcoded strings? the default check only targets Text() composables which is not suitable for me. tried to create a custom lint rule to catch any hardcoded strings used in my custom composables without luck. was wondering if that isn't a generic problem that has been solved already
t
Did you tried this: https://slackhq.github.io/compose-lints/ Not sure if it checks about hardcoded strings but at least a lot of other useful compose things. Unfortunately i think it does not work in multiplatform projects.
c
yep, already had a look. there's no rule for hardcoded strings