Disallows arrow functions.
Why enable this rule? Arrow functions might cause more problems than they solve:
this
.disallowShorthandArrowFunctions
.Type: Boolean
Value: true
Version: ES6
"disallowArrowFunctions": true
// function expression in a callback
[1, 2, 3].map(function (x) {
return x * x;
});
// arrow function
[1, 2, 3].map((x) => {
return x * x;
});