NMF-earth / nmf-app

Understand and reduce your carbon footprint 🌱 iOS & Android.
https://nmf.earth
GNU General Public License v3.0
506 stars 156 forks source link

Setup correctly eslint and prettier #165

Closed PierreBresson closed 4 years ago

PierreBresson commented 4 years ago

Using this article

Reason : seems maintainers have different formatting, resulting in many useless changes when a little change is introduced. See comma in this commit for example.

Let's have a solid and similar setup for everyone.

I don't think "lint": "eslint --ext .js,.jsx,.ts,.tsx ./app", from package.json need to be changed

NB: at the moment, it's partially implemented

gurvanhenry commented 4 years ago

Fun fact, few minutes ago I have just added this suggestion in my sticky note for you.

I can handle that point if you want.