Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(linter/no-control-regex): false negative for flags in template literals #6531

Commits on Oct 14, 2024

  1. fix(linter/no-control-regex): false negative for flags in template li…

    …terals (#6531)
    
    Updates regex flag extraction logic to handle no-substitution template literals, allowing cases like this to be correctly reported:
    ```js
    let r = new RegExp('\\u{0}', `u`);
    ```
    DonIsaac committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2b86de9 View commit details
    Browse the repository at this point in the history