Node.js efficiently export non-anonymous functions (so eslint stops complaining)

Viewed 797

Using ESLint with Airbnb Style Guide how do I efficiently write export functions in a module without getting smacked? The following:

exports.istest = function() {
  console.log('Test');
};

throws an eslint 'unexpected unnamed function' warning while:

exports.istest = function istest() {
  console.log('Test');
};

Seems woefully repetitive.

1 Answers
Related