s
flag (es/no-regexp-s-flag)
disallow RegExp 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