Skip to content

Commit db4e58f

Browse files
committed
fix lint
1 parent 0f49b86 commit db4e58f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rules/prefer-ternary.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ const isSingleLineNode = (node, context) =>
3838
context.sourceCode.getLoc(node).start.line === context.sourceCode.getLoc(node).end.line;
3939

4040
/**
41-
* Find a preceding uninitialized variable declaration that matches the assignment target.
42-
* @param {import('estree').IfStatement} ifStatement
43-
* @param {import('estree').Identifier} assignmentLeft
44-
* @returns {import('estree').VariableDeclaration | undefined}
41+
Find a preceding uninitialized variable declaration that matches the assignment target.
42+
@param {import('estree').IfStatement} ifStatement
43+
@param {import('estree').Identifier} assignmentLeft
44+
@returns {import('estree').VariableDeclaration | undefined}
4545
*/
4646
function findPrecedingVariableDeclaration(ifStatement, assignmentLeft) {
4747
const {parent} = ifStatement;

0 commit comments

Comments
 (0)