A lambda function is made up of more than a configurable number of lines.
Lambda functions are usually used for single lines of code that aren't worth naming to make code more concise. A large lambda function indicates it should probably be a named function.
Consider using a named function rather than a lambda function.
{
"maxLinesInLambdaFunction": {
"enabled": false,
"config": {
"maxLines": 7
}
}
}