Dependencies were updated with yarn upgrade-interactive --latest and errors
were fixed
A few unecessary typing dependencies removed.
Major dependency updates are:
bootstrap 5.1 -> 5.2
react 18.1 -> 18.2
react-toastify 8 -> 9
For testing:
All act errors were fixed, we had a ton of unecessary act blocks in tests,
those were all removed.
Some tests simplified.
For eslint:
eslint not running the server when certain rules are broken has been an
annoying issue for a while. This commit makes all eslint errors into warnings
at runtime. This allows for an easier time while developing.
Instead lint-staged is run before committing your changes to enforce linting
rules.
Added an automatic unused import remover for eslint as well. When commiting
unused imports will be automatically fixed.
Misc:
Loading button was fixed to no longer accept a component, it only accepted
buttons anyway, so it seemed useless.
Removed a bunch of old unused styled component styles.
For dependencies:
yarn upgrade-interactive --latest
and errors were fixedMajor dependency updates are:
For testing:
act
errors were fixed, we had a ton of unecessary act blocks in tests, those were all removed.For eslint:
eslint
not running the server when certain rules are broken has been an annoying issue for a while. This commit makes all eslint errors into warnings at runtime. This allows for an easier time while developing.lint-staged
is run before committing your changes to enforce linting rules.Misc: