dekkerglen / CubeCobra

An open source web application for building, managing, and playtesting Magic the Gathering cubes.
https://www.cubecobra.com
Apache License 2.0
194 stars 121 forks source link

style(lint): fix prettier and eslint errors #2437

Open DianaLease opened 10 months ago

DianaLease commented 10 months ago

This PR attempts to fix (or ignore, where appropriate) all linting errrors. I also removed the src/components/ClientOnly.js file because it wasn't being used anywhere (and it contained some strange code like passing props to a React Fragment).

I'm opening this as a draft PR as I still want to do more smoke testing and there are still two additional types of errors that I need to address (react/jsx-no-constructed-context-value and react/forbid-prop-types). But I wanted to get this open so people can start reviewing it since it quite a large PR. Also, if you'd rather me break this up into a few smaller PRs, let me know!