Skip to content

Support for v flag & update regexpp #545

Closed
@ota-meshi

Description

@ota-meshi

Description

regexpp added support for the v flag.
Since the AST has changed along with this, many Type errors have occurred. we need to fix them.
Also, some rules need to be fixed to understand the v flag.


At least the following TS errors should be fixed.

  • regexp/negation rule
  • regexp/no-contradiction-with-assertion rule
  • regexp/no-dupe-characters-character-class rule
  • regexp/no-dupe-disjunctions rule
  • regexp/no-misleading-capturing-group rule
  • regexp/optimal-quantifier-concatenation rule
  • regexp/prefer-character-class rule
  • regexp/sort-character-class-elements rule
  • regexp/use-ignore-case rule
  • lib/utils/index.ts
  • lib/utils/partial-parser.ts
  • lib/utils/regexp-ast/case-variation.ts
  • lib/utils/regexp-ast/index.ts
  • lib/utils/regexp-ast/is-equals.ts
  • lib/utils/regexp-ast/simplify-quantifier.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions