Place1/node-gir

Eslint

Closed this issue · 5 comments

As stated in issue #17, eslint should be added. I nominate using the Airbnb style guide. The code already seems to follow it closely. Any thoughts?

I disabled the following airbnb rules.

no-plusplus
new-cap
global-require

Yes, there are classes coming from gobject that are not lowercase. I'm not exactly sure why. I can look into it further, but for now, the best temporary solution is to disable new-cap.

I could disable it with a comment if you want?