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.
fixer-return
1 parent 9a6060c commit 0259d01Copy full SHA for 0259d01
lib/rules/fixer-return.ts
@@ -56,9 +56,8 @@ const rule: Rule.RuleModule = {
56
* As we exit the fix() function, ensure we have returned or yielded a real fix by this point.
57
* If not, report the function as a violation.
58
*
59
- * @param {ASTNode} node - A node to check.
60
- * @param {Location} loc - Optional location to report violation on.
61
- * @returns {void}
+ * @param node - A node to check.
+ * @param loc - Optional location to report violation on.
62
*/
63
function ensureFunctionReturnedFix(
64
node: ArrowFunctionExpression | FunctionExpression,
0 commit comments