no-invalid-regexp (ESLint: no-invalid-regexp)
disallow invalid regular expression strings in the RegExp
constructor (recommended)
"no-invalid-regexp": true
disallow invalid regular expression strings in the RegExp
constructor (recommended)
"no-invalid-regexp": true