summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/no-unneeded-ternary.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/no-unneeded-ternary.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-unneeded-ternary.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-unneeded-ternary.js b/tools/node_modules/eslint/lib/rules/no-unneeded-ternary.js
index 331c9ce94d..893baa34f7 100644
--- a/tools/node_modules/eslint/lib/rules/no-unneeded-ternary.js
+++ b/tools/node_modules/eslint/lib/rules/no-unneeded-ternary.js
@@ -57,7 +57,7 @@ module.exports = {
/**
* Test if the node is a boolean literal
- * @param {ASTNode} node - The node to report.
+ * @param {ASTNode} node The node to report.
* @returns {boolean} True if the its a boolean literal
* @private
*/
@@ -91,7 +91,7 @@ module.exports = {
/**
* Tests if a given node always evaluates to a boolean value
- * @param {ASTNode} node - An expression node
+ * @param {ASTNode} node An expression node
* @returns {boolean} True if it is determined that the node will always evaluate to a boolean value
*/
function isBooleanExpression(node) {
@@ -101,7 +101,7 @@ module.exports = {
/**
* Test if the node matches the pattern id ? id : expression
- * @param {ASTNode} node - The ConditionalExpression to check.
+ * @param {ASTNode} node The ConditionalExpression to check.
* @returns {boolean} True if the pattern is matched, and false otherwise
* @private
*/