UdacityMobileWebScholarship / guess-quote

This application is a collaborative project made by the Google Udacity Mobile Web Specialist Scholars.
MIT License
22 stars 48 forks source link

Add some eslint rules for best practices #72

Closed anantoghosh closed 6 years ago

anantoghosh commented 6 years ago

This PR aims to add a few eslint rules to reduce errors.

eqeqeq: use ===, !== no-invalid-this: disallow this outside of classes or class-like objects no-var: use let or const instead of var radix: parseInt must use radix - react build already shows a warning for this