Rules: * `array-iteratee-param-name` Validates length of iteratee function's params' names in array methods ```js // Iteratee param(s) name too short (at 1:15) [1, 2, 3].map(i => i * 10) // ---------------^ ``` * `function-para
npm install eslint-plugin-function-expressionRules:
* array-iteratee-param-name
Validates length of iteratee function's params' names in array methods
``js`
// Iteratee param(s) name too short (at 1:15)
[1, 2, 3].map(i => i * 10)
// ---------------^
function-param-name
* (unstable)array-iteratee-param-name
Alike but validates length of params' names in any function expression, e.g.function(arg1, ...args) {}
* Function expression const f = function(arg1, ...args) {};
* Function declaration const f = (arg1, ...args) => {};
* Arrow function expression class A { method(arg1, ...args) {} }
* Class method class A { prop = (arg1, ...args) => {}; }`
* Class property with arrow function expression