summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/no-magic-numbers.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/no-magic-numbers.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/no-magic-numbers.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-magic-numbers.js b/tools/node_modules/eslint/lib/rules/no-magic-numbers.js
index 2c6ea61e28..0909e3166d 100644
--- a/tools/node_modules/eslint/lib/rules/no-magic-numbers.js
+++ b/tools/node_modules/eslint/lib/rules/no-magic-numbers.js
@@ -61,7 +61,7 @@ module.exports = {
/**
* Returns whether the node is number literal
- * @param {Node} node - the node literal being evaluated
+ * @param {Node} node the node literal being evaluated
* @returns {boolean} true if the node is a number literal
*/
function isNumber(node) {
@@ -70,7 +70,7 @@ module.exports = {
/**
* Returns whether the number should be ignored
- * @param {number} num - the number
+ * @param {number} num the number
* @returns {boolean} true if the number should be ignored
*/
function shouldIgnoreNumber(num) {
@@ -79,8 +79,8 @@ module.exports = {
/**
* Returns whether the number should be ignored when used as a radix within parseInt() or Number.parseInt()
- * @param {ASTNode} parent - the non-"UnaryExpression" parent
- * @param {ASTNode} node - the node literal being evaluated
+ * @param {ASTNode} parent the non-"UnaryExpression" parent
+ * @param {ASTNode} node the node literal being evaluated
* @returns {boolean} true if the number should be ignored
*/
function shouldIgnoreParseInt(parent, node) {
@@ -93,7 +93,7 @@ module.exports = {
/**
* Returns whether the number should be ignored when used to define a JSX prop
- * @param {ASTNode} parent - the non-"UnaryExpression" parent
+ * @param {ASTNode} parent the non-"UnaryExpression" parent
* @returns {boolean} true if the number should be ignored
*/
function shouldIgnoreJSXNumbers(parent) {
@@ -102,7 +102,7 @@ module.exports = {
/**
* Returns whether the number should be ignored when used as an array index with enabled 'ignoreArrayIndexes' option.
- * @param {ASTNode} parent - the non-"UnaryExpression" parent.
+ * @param {ASTNode} parent the non-"UnaryExpression" parent.
* @returns {boolean} true if the number should be ignored
*/
function shouldIgnoreArrayIndexes(parent) {