Allows you to bannish some methods or functions.
For example
[{
"name": "functionName",
"message": "my custom message because you use the function functionName"
}]
Examples of incorrect code for this rule:
var result = functionName('myString');
Examples of correct code for this rule:
var result = _functionName('myString');
Simple function
[{
"name": "functionName",
"message": "my custom message because you use the function functionName"
}]
Method
on every kind of objects
[{
"name": ["*", "functionName"],
"message": "my custom message because you use the function functionName"
}]
Method
on object named myObj
[{
"name": ["myObj", "functionName"],
"message": "my custom message because you use the function functionName"
}]