You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automatic fix that is performed by the react/no-invalid-html-attribute rule removes invalid values. I'd argue this is dangerous behavior as removing the value is probably not the intended outcome, I mean, I've put it there for a reason in the first place. Some examples:
I have a typo in one of the values, auto-fix removes it instead of forcing me to correct it
I have a non-standard value e.g. rel="sponsored", I'd like to replace it with nofollow instead of automatically removing it. Or I'd like to add an ignore directive to allow for it.
The text was updated successfully, but these errors were encountered:
The automatic fix that is performed by the
react/no-invalid-html-attribute
rule removes invalid values. I'd argue this is dangerous behavior as removing the value is probably not the intended outcome, I mean, I've put it there for a reason in the first place. Some examples:rel="sponsored"
, I'd like to replace it withnofollow
instead of automatically removing it. Or I'd like to add an ignore directive to allow for it.The text was updated successfully, but these errors were encountered: