react-error-boundary icon indicating copy to clipboard operation
react-error-boundary copied to clipboard

chore(eslint): add settings's react version, remove duplicate config, update eslint and related libraries

Open sukvvon opened this issue 1 year ago • 0 comments

What:

  • Add React version to ESLint settings.
  • Remove duplicate ESLint configuration to avoid redundancy.
  • Update ESLint and related libraries to the latest versions.

Why:

Before (has not react version)

image

After (has react version)

image

  • The React version setting is necessary to align the linting rules with the specific version of React used in the project.
  • Removing duplicate configurations helps simplify the ESLint setup and avoid potential conflicts or unnecessary rules.
  • Updating ESLint and related libraries ensures the use of the latest linting features, performance improvements, and security patches.

How:

  • Modified the eslint.config.mjs file to include the React version in the settings.
  • Identified and removed redundant configurations to clean up the setup.
  • Updated ESLint and related libraries to their latest stable versions.

Checklist:

  • [x] Documentation
  • [x] Tests
  • [x] Ready to be merged

sukvvon avatar Dec 25 '24 17:12 sukvvon