summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/lib/rules/array-element-newline.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-10-25 12:48:14 -0700
committercjihrig <cjihrig@gmail.com>2019-10-28 09:51:24 -0400
commit511f67bcb42b59c9a3a3efab8fed578db100afe1 (patch)
tree8b64f390dd727dd739fd2fb84d69df3c829a9315 /tools/node_modules/eslint/lib/rules/array-element-newline.js
parentb35181f877d5a92e8bb52eb071489f2a7d87494b (diff)
downloadandroid-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.tar.gz
android-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.tar.bz2
android-node-v8-511f67bcb42b59c9a3a3efab8fed578db100afe1.zip
tools: update ESLint to 6.6.0
Update ESLint to 6.6.0 PR-URL: https://github.com/nodejs/node/pull/30123 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/lib/rules/array-element-newline.js')
-rw-r--r--tools/node_modules/eslint/lib/rules/array-element-newline.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/tools/node_modules/eslint/lib/rules/array-element-newline.js b/tools/node_modules/eslint/lib/rules/array-element-newline.js
index c3d026ad69..1da67667be 100644
--- a/tools/node_modules/eslint/lib/rules/array-element-newline.js
+++ b/tools/node_modules/eslint/lib/rules/array-element-newline.js
@@ -62,8 +62,7 @@ module.exports = {
/**
* Normalizes a given option value.
- *
- * @param {string|Object|undefined} providedOption - An option value to parse.
+ * @param {string|Object|undefined} providedOption An option value to parse.
* @returns {{multiline: boolean, minItems: number}} Normalized option object.
*/
function normalizeOptionValue(providedOption) {
@@ -90,8 +89,7 @@ module.exports = {
/**
* Normalizes a given option value.
- *
- * @param {string|Object|undefined} options - An option value to parse.
+ * @param {string|Object|undefined} options An option value to parse.
* @returns {{ArrayExpression: {multiline: boolean, minItems: number}, ArrayPattern: {multiline: boolean, minItems: number}}} Normalized option object.
*/
function normalizeOptions(options) {
@@ -102,7 +100,7 @@ module.exports = {
/**
* Reports that there shouldn't be a line break after the first token
- * @param {Token} token - The token to use for the report.
+ * @param {Token} token The token to use for the report.
* @returns {void}
*/
function reportNoLineBreak(token) {
@@ -151,7 +149,7 @@ module.exports = {
/**
* Reports that there should be a line break after the first token
- * @param {Token} token - The token to use for the report.
+ * @param {Token} token The token to use for the report.
* @returns {void}
*/
function reportRequiredLineBreak(token) {
@@ -171,8 +169,7 @@ module.exports = {
/**
* Reports a given node if it violated this rule.
- *
- * @param {ASTNode} node - A node to check. This is an ObjectExpression node or an ObjectPattern node.
+ * @param {ASTNode} node A node to check. This is an ObjectExpression node or an ObjectPattern node.
* @returns {void}
*/
function check(node) {