• Robert Knight's avatar
    Convert remaining anonymous callbacks to arrow functions · 088864e9
    Robert Knight authored
    We've been gradually converting anonymous functions to arrow functions
    since adopting ES6. This commit uses ESLint to finish the process by
    converting the remaining non-named, non-`this`-using callbacks to arrow
    functions.
    
     - Enable `prefer-arrow-callbacks` lint rule. The `allowNamedFunctions`
       option is enabled because we have a few instances (eg. in
       gulpfile.js) of explicitly naming functions for use in debugging /
       logging etc.
    
     - Run `eslint --fix .` and `yarn format` to automatically fix up the
       code
    088864e9
Name
Last commit
Last update
..
collections-test.js Loading commit data...
copy-to-clipboard-test.js Loading commit data...
disable-opener-for-external-links-test.js Loading commit data...
dom-test.js Loading commit data...
immutable-test.js Loading commit data...
memoize-test.js Loading commit data...
oauth-client-test.js Loading commit data...
observe-element-size-test.js Loading commit data...
pagination-test.js Loading commit data...
postmessage-json-rpc-test.js Loading commit data...
random-test.js Loading commit data...
retry-test.js Loading commit data...
search-filter-test.js Loading commit data...
sentry-test.js Loading commit data...
time-test.js Loading commit data...
unicode-test.js Loading commit data...
url-test.js Loading commit data...
watch-test.js Loading commit data...