Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Latest commit

 

History

History
14 lines (10 loc) · 713 Bytes

noInvalidRegexpRule.md

File metadata and controls

14 lines (10 loc) · 713 Bytes

no-invalid-regexp (ESLint: no-invalid-regexp)

rule_source test_source

disallow invalid regular expression strings in the RegExp constructor (recommended)

Usage

"no-invalid-regexp": true