diff --git a/lib/rules/yoda.js b/lib/rules/yoda.js index 338849eabd5..dcf3ad8c2f3 100644 --- a/lib/rules/yoda.js +++ b/lib/rules/yoda.js @@ -84,8 +84,7 @@ function looksLikeLiteral(node) { * node represents a negative number literal. * 3. A normalized Literal node with the string as the value if the node is * a Template Literal without expression. - * 4. The Literal node which has the `defaultValue` argument if it exists. - * 5. Otherwise `null`. + * 4. Otherwise `null`. */ function getNormalizedLiteral(node) { if (node.type === "Literal") {