A mutator function (that mutates one or more of its parameters) was used.
Using pure functions without side-effects is preferrable in functional programming.
Use pure function.
{
"noMutatorFunctions": {
"enabled": true,
"config": {
"allowedMutatorFunctions": [],
"additionalMutatorFunctions": []
}
}
}
"Array.set").If a string in either of those settings ends in .* (e.g. Foo.Bar.Baz.*), then it is treated as type Foo.Bar.Baz (without type parameters). In this case, usage of type's constructors is checked.