disallow the String.raw method (es/no-string-raw)

This rule reports ES2015 String.raw method as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-string-raw: error */ const pattern = String.raw`[\w_$]+`
Now loading...

📚 References

Last Updated: 8/27/2019, 11:29:02 AM