Skip to content

Commit 3496768

Browse files
committed
chore(oxlint): enable alwys-return with ignoreLastCallback
1 parent b540529 commit 3496768

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/oxlint-config/index.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,12 @@
8585
"max": 5
8686
}
8787
],
88-
"always-return": "off",
88+
"always-return": [
89+
"error",
90+
{
91+
"ignoreLastCallback": true
92+
}
93+
],
8994

9095
"todo": "off",
9196
"no-array-for-each": "off",

0 commit comments

Comments
 (0)