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