react-error-boundary
react-error-boundary copied to clipboard
chore(eslint): add settings's react version, remove duplicate config, update eslint and related libraries
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)
After (has react version)
- 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