Regex
No Regex Literal Flags
Disallow flags on regex literals so shared patterns stay reusable and callers add flags at the call site via new RegExp.
No Regex Literals
Disallow inline regex literal expressions so patterns are centralized in a shared patterns file and reusable across the codebase.