Closed kelvinfan001 closed 3 years ago
@avatarneil Heroku build was failing because the ESLint version required by react-scripts
was v6.x, but your previous PR used react-scripts
v7.x. To deal with this, I bumped react-scripts
to v4.x. However, in 4.x, https://github.com/facebook/create-react-app/issues/9887 happened. Basically react-scripts
now merges our rules in our own eslint configs with the react ones, thus any error rules we specified can now prevent react from compiling.
For now, I've removed airbnb-base, as that was the extension that findalicious violated the most and made some minor linting fixes that let react compile for now.
With this PR, Heroku should be able to build.
With https://github.com/kelvinfan001/findalicious/pull/112/commits/016ca86a879787a2d779f9d071eb26b8147a336d, we no longer need the above workaround.
Please see individual commit messages for additional details.