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
When using template literals (i.e. backticks) for strings, the newline warning is not helpful because the detected characters are actual newlines within the template, not unnecessary escaped newlines.
Solution is to skip the check when using backticks for quotes, and check for escaped newlines instead.
The text was updated successfully, but these errors were encountered:
When using template literals (i.e. backticks) for strings, the
newline
warning is not helpful because the detected characters are actual newlines within the template, not unnecessary escaped newlines.Solution is to skip the check when using backticks for quotes, and check for escaped newlines instead.
The text was updated successfully, but these errors were encountered: