We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 971b90a commit 359768dCopy full SHA for 359768d
rules/sort-regexp/is-capturing-context.ts
@@ -1,5 +1,4 @@
1
import type {
2
- LookaroundAssertion,
3
CapturingGroup,
4
Alternative,
5
Pattern,
@@ -14,7 +13,7 @@ import type {
14
13
*/
15
export function isCapturingContext(
16
node: Alternative['parent'],
17
-): node is LookaroundAssertion | CapturingGroup | Pattern | Group {
+): node is CapturingGroup | Pattern | Group {
18
return (
19
node.type === 'CapturingGroup' ||
20
node.type === 'Group' ||
0 commit comments