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
We just encountered a problem which we hoped no-raw-text would find, but it does not. The problematic case is when extra whitespace is padded around the curly brackets when referencing from JSX from a variable like so:
I am not sure what the proper logic would be, because not all whitespace is illegal (newlines, etc.) You can add the following tests to tests/lib/rules/no-raw-text.js to handle this case:
We just encountered a problem which we hoped
no-raw-text
would find, but it does not. The problematic case is when extra whitespace is padded around the curly brackets when referencing from JSX from a variable like so:I am not sure what the proper logic would be, because not all whitespace is illegal (newlines, etc.) You can add the following tests to
tests/lib/rules/no-raw-text.js
to handle this case:The text was updated successfully, but these errors were encountered: