FIX: Relax excessive ESLint configuration rules #23
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.
Ben reports that it's difficult to work with all the extra errors reported in the component files as he does MUI conversion.
This PR partially addresses #21, updating the ESLint configuration to relax rules that the new prettier/prettier ruleset (which is now a superset prettier/react) introduced. ESLint now has more recommendations than in 2018, and I have relaxed some of them to "warn" level, while others are off. For a complete list, check the
.estlintrc.js
file.NOTE: I left in several rules that do reveal issues that should be addressed and are pretty easy to do.
ESLINTRC TEST
.eslintrc.js
file.eslintrc.js
file next to where your.eslintrc.json
file is.eslintrc.json
toold-eslintrc.json
NOTE: ESLint only checks on open files, so you'll have to click around to see.
OTHER CHANGES
This PR also includes updates to
.vscode
folder default snippets and settings, affecting FormatOnSave settings using a more "global" approach and removing the LiveShare extension as a recommended extension