"description":"Avoid parameter lists longer than 5 parameters. [12/5]",
"line":10,
"severity":"major"
"description":"Avoid parameter lists longer than 5 parameters. [12/5]",
},
"severity":"major"
{
},
"line":10,
{
"description":"Method `new_array` has 12 arguments (exceeds 4 allowed). Consider refactoring.",
"line":10,
"severity":"minor"
"description":"Method `new_array` has 12 arguments (exceeds 4 allowed). Consider refactoring.",
}
"severity":"minor"
],
}
"file_b.rb":[
],
{
"file_b.rb":[
"line":10,
{
"description":"This cop checks for methods with too many parameters.\nThe maximum number of parameters is configurable.\nKeyword arguments can optionally be excluded from the total count.",
"line":10,
"severity":"minor"
"description":"This cop checks for methods with too many parameters.\nThe maximum number of parameters is configurable.\nKeyword arguments can optionally be excluded from the total count.",