Skip to content

Detects potentially unsafe regular expressions, which may take a very long time to run, blocking the event loop (security/detect-unsafe-regex)

⚠️ This rule warns in the ✅ recommended config.

More information: Regular Expression DoS and Node.js

Released under the Apache License 2.0.