in all cases when you don't need context of this particular function.
npm - eslint-plugin-prefer-arrow-functions
Google - JS Styleguide - Features functions arrow functions
When should I use Arrow functions in ECMAScript 6?
function sum({a, b}) {
return a + b;
}const sum = ({a, b}) => (a + b); // "sum" is named arrow function which has name in stacktraceBack to Code Guide - JavaScript
Copyright © 2017 Stanislav Kochenkov