eslint-plugin-sonarjs
Version:
SonarJS rules for ESLint
7 lines (6 loc) • 313 B
TypeScript
/// <reference types="@eslint-community/regexpp" />
import { CapturingGroup, Group, LookaroundAssertion, Pattern } from '@eslint-community/regexpp/ast';
/**
* An alternation is a regexpp node that has an `alternatives` field.
*/
export type Alternation = Pattern | CapturingGroup | Group | LookaroundAssertion;