TristonJ / eslint-plugin-prefer-arrow

ESLint plugin to prefer arrow functions
MIT License
54 stars 10 forks source link

Function declarations in modules #28

Open iamart opened 3 years ago

iamart commented 3 years ago

Is there a coherent reason to prefer arrow function expressions over function declarations in modules? When exporting functions, there doesn't seem to be any benefits to enforce one to the other I believe.