I think it would be great to have a rule to forbid usage of attribute for a property if type is not natively convertible or if no converter is defined.
Native convertible types are String, Number, Boolean, Object, Array : https://lit.dev/docs/components/properties/#conversion-type
I think it would be great to have a rule to forbid usage of attribute for a property if type is not natively convertible or if no converter is defined. Native convertible types are
String
,Number
,Boolean
,Object
,Array
: https://lit.dev/docs/components/properties/#conversion-typeThis would be no warning
And this would be warning