disallow RegExp s flag (es/no-regexp-s-flag)

This rule reports ES2018 RegExp s flag as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-regexp-s-flag: error */ const r1 = /./s
Now loading...

📚 References

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