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 the no-unused-expressions ESLint rule is enabled, it considers tagged template literals with side effects as unnecessary and raise an error (eslint/eslint#7632).
The text was updated successfully, but these errors were encountered:
Since ESLint 3.18.0, a new option called allowTaggedTemplates of the rule no-unused-expressions resolves this issue. See the following ESLint configuration example:
When the
no-unused-expressions
ESLint rule is enabled, it considers tagged template literals with side effects as unnecessary and raise an error (eslint/eslint#7632).The text was updated successfully, but these errors were encountered: