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 ffa15b0 commit 1f48c27Copy full SHA for 1f48c27
lib/rules/no-useless-non-capturing-group.ts
@@ -60,7 +60,7 @@ export default createRule("no-useless-non-capturing-group", {
60
? "always"
61
: context.options[0]?.allowTop === false
62
? "never"
63
- : context.options[0]?.allowTop ?? "partial"
+ : (context.options[0]?.allowTop ?? "partial")
64
65
function createVisitor({
66
node,
0 commit comments