Skip to content

Commit 1f48c27

Browse files
committed
format
1 parent ffa15b0 commit 1f48c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/no-useless-non-capturing-group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default createRule("no-useless-non-capturing-group", {
6060
? "always"
6161
: context.options[0]?.allowTop === false
6262
? "never"
63-
: context.options[0]?.allowTop ?? "partial"
63+
: (context.options[0]?.allowTop ?? "partial")
6464

6565
function createVisitor({
6666
node,

0 commit comments

Comments
 (0)