Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
6
node_modules/eslint/lib/rules/max-lines-per-function.js
generated
vendored
6
node_modules/eslint/lib/rules/max-lines-per-function.js
generated
vendored
|
|
@ -48,7 +48,7 @@ const OPTIONS_OR_INTEGER_SCHEMA = {
|
|||
/**
|
||||
* Given a list of comment nodes, return a map with numeric keys (source code line numbers) and comment token values.
|
||||
* @param {Array} comments An array of comment nodes.
|
||||
* @returns {Map.<string,Node>} A map with numeric keys (source code line numbers) and comment token values.
|
||||
* @returns {Map<string, Node>} A map with numeric keys (source code line numbers) and comment token values.
|
||||
*/
|
||||
function getCommentLineNumbers(comments) {
|
||||
const map = new Map();
|
||||
|
|
@ -65,13 +65,13 @@ function getCommentLineNumbers(comments) {
|
|||
// Rule Definition
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/** @type {import('../shared/types').Rule} */
|
||||
module.exports = {
|
||||
meta: {
|
||||
type: "suggestion",
|
||||
|
||||
docs: {
|
||||
description: "enforce a maximum number of lines of code in a function",
|
||||
category: "Stylistic Issues",
|
||||
description: "Enforce a maximum number of lines of code in a function",
|
||||
recommended: false,
|
||||
url: "https://eslint.org/docs/rules/max-lines-per-function"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue