Skip to content

e18e/prefer-static-regex: regex with /g are stateful so this could cause issues #70

@eamodio

Description

@eamodio

While I like this rule generally, regex with /g are stateful so this could cause issues. Maybe a configuration option or just not error on /g?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions