summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/require-await.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/require-await.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/require-await.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/node_modules/eslint/lib/rules/require-await.js b/tools/node_modules/eslint/lib/rules/require-await.js
index 298cb951de..0aa6fce7e1 100644
--- a/tools/node_modules/eslint/lib/rules/require-await.js
+++ b/tools/node_modules/eslint/lib/rules/require-await.js
@@ -17,8 +17,7 @@ const astUtils = require("./utils/ast-utils");
/**
* Capitalize the 1st letter of the given text.
- *
- * @param {string} text - The text to capitalize.
+ * @param {string} text The text to capitalize.
* @returns {string} The text that the 1st letter was capitalized.
*/
function capitalizeFirstLetter(text) {
@@ -49,7 +48,6 @@ module.exports = {
/**
* Push the scope info object to the stack.
- *
* @returns {void}
*/
function enterFunction() {
@@ -62,8 +60,7 @@ module.exports = {
/**
* Pop the top scope info object from the stack.
* Also, it reports the function if needed.
- *
- * @param {ASTNode} node - The node to report.
+ * @param {ASTNode} node The node to report.
* @returns {void}
*/
function exitFunction(node) {