Update checked-in dependencies
This commit is contained in:
parent
6b0d45a5c6
commit
cc1adb825a
4247 changed files with 144820 additions and 149530 deletions
5
node_modules/eslint/lib/rules/max-params.js
generated
vendored
5
node_modules/eslint/lib/rules/max-params.js
generated
vendored
|
|
@ -9,9 +9,8 @@
|
|||
// Requirements
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
const lodash = require("lodash");
|
||||
|
||||
const astUtils = require("./utils/ast-utils");
|
||||
const { upperCaseFirst } = require("../shared/string-utils");
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Rule Definition
|
||||
|
|
@ -85,7 +84,7 @@ module.exports = {
|
|||
node,
|
||||
messageId: "exceed",
|
||||
data: {
|
||||
name: lodash.upperFirst(astUtils.getFunctionNameWithKind(node)),
|
||||
name: upperCaseFirst(astUtils.getFunctionNameWithKind(node)),
|
||||
count: node.params.length,
|
||||
max: numParams
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue