Cleanup warnings on eslint. Formatted all and modified a typo for cre… #1337
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
When starting the application, some warnings come to us.
With new update of Eslint, these warnings come into errors and you can't continue to use the application.
So, this PR is intended to resolve these issues
Fixes #1239
Type of change
Delete unused variables.
As i've reverted back to the main branch, eslint configuration and an updated package.json files with eslint update inside was use.
In this case, some formatting was done in the same time than the correction for the unused variables.
How Has This Been Tested?
Run :
yarnlint
check for errors/warnings
Clean up errors/warnings
yarn format
yarn lint
check for error/warnings
yarn format
yarn lint
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist:
Screenshots or example output
![Capture d’écran du 2023-10-14 03-01-30](https://github.com/reactplay/react-play/assets/48807534/92fc870f-a291-4586-a12c-d66fbf3ef2
be)
As i've refactored a little bit more the Multiplayer Tic-tac-toe, i've played with the play after run to check if no problem occurs.