theRAPTLab / meme-2023

MEME 2023 grant development (fork from MEME 2018)
MIT License
0 stars 0 forks source link

FIX: Relax excessive ESLint configuration rules #23

Closed dsriseah closed 2 weeks ago

dsriseah commented 2 weeks ago

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

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