sprx97 / OldTimeHockey

Website and scripts for OldTimeHockey fantasy hockey league.
http://www.roldtimehockey.com
3 stars 5 forks source link

Cleaning up some compilation errors on frontend #99

Closed chrisparsons83 closed 6 months ago

chrisparsons83 commented 3 years ago

These are low-priority fixes, but would make for a nicer dev experiences. When running npm run start, these errors will show up.

Compiled with warnings.

./src/components/Helpers.js
  Line 7:12:  Expected '===' and instead saw '=='  eqeqeq

./src/components/ADPTable.js
  Line 8:5:    Useless constructor                  no-useless-constructor
  Line 16:48:  Expected '===' and instead saw '=='  eqeqeq
  Line 19:49:  Expected '===' and instead saw '=='  eqeqeq
  Line 19:68:  Expected '===' and instead saw '=='  eqeqeq
  Line 22:49:  Expected '===' and instead saw '=='  eqeqeq
  Line 22:68:  Expected '===' and instead saw '=='  eqeqeq

They should be self explanatory for cleaning up with very little worry about breaking things. Mainly leaving it here so I can attach a PR to it more than anything.