cleverage / eslint-config

eslint config for Clever Age projects
MIT License
2 stars 1 forks source link

Use of eslint-plugin-proper-arrows #9

Open carab opened 5 years ago

carab commented 5 years ago

Hi there,

David Walsh just wrote an article about the correct use of arrow functions: https://davidwalsh.name/i-dont-hate-arrow-functions

I won't explain here what he already told, but I think it would be interesting to use the eslint plugin he published: https://github.com/getify/eslint-plugin-proper-arrows

I'm gonna try it on a project and we'll see how it works, As I'm already limiting the use of arrow function, maybe it will not be a huge change for me.

I'll post an update later ;)