Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 3, 2024
1 parent ffa15b0 commit 1f48c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/no-useless-non-capturing-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default createRule("no-useless-non-capturing-group", {
? "always"
: context.options[0]?.allowTop === false
? "never"
: context.options[0]?.allowTop ?? "partial"
: (context.options[0]?.allowTop ?? "partial")

function createVisitor({
node,
Expand Down

0 comments on commit 1f48c27

Please sign in to comment.