nacimgoura / instagram-profilecrawl

:computer: Quickly crawl the information (e.g. followers, tags, etc...) of an instagram profile. No login required!
MIT License
121 stars 30 forks source link

Add code styling tools #27

Closed alejandronanez closed 6 years ago

alejandronanez commented 6 years ago

Hey @nacimgoura.

I added a couple of things here:

After this, everything should be consistent in terms of code styling.

NOTE: This is using 2 spaces which IMO looks more readable than what we had before, but if you don't like it I can revert this change.

closes #23

nacimgoura commented 6 years ago

Thanks but I already use xo for the lint. Why used eslint instead of xo would be better?

alejandronanez commented 6 years ago

Oops, I missed XO on your devDependencies.

Let’s stick with it, XO uses eslint under the hood. I’ll update the PR then.

UPDATE

NOTE After running npm run xo we got:

screen shot 2018-03-21 at 11 31 25 am

But we can address those issues in subsequent PRs

nacimgoura commented 6 years ago

Thanks 😉