accessibility-insights-web
accessibility-insights-web copied to clipboard
ESLint V9 migration
Details
Migrated ESLint version from 8.57.0 to 9.24.9
Motivation
Migrate ESLint to V9
Context
CI failure is unrelated, see #7323.
- Removed "// eslint-disable-next-line no-useless-escape" from multiple files as they are unused now
- eslint.config.mjs - Added eslint.config.mjs file. It replaces root, base, and e2e .eslintrc.js files.
- package.json - Upgraded eslint from 8.57.0 to 9.24.0
- packages/report-e2e-tests/tsconfig.json - Updated to include jest.config.js and prettier.config.js.
- Updated snapshot files- settings-drop-down & hamburger-menu tests
- tsconfig.json - Updated to include JS config files.
- linked-frame-messenger.ts - Updated mock window object.
- frame-url-finder.test.ts - Changed direct assignment of window.location.
Pull request checklist
- [ ] Ran
yarn fastpass - [ ] Added/updated relevant unit test(s) (and ran
yarn test) - [ ] Verified code coverage for the changes made. Check coverage report at:
<rootDir>/test-results/unit/coverage - [ ] PR title AND final merge commit title both start with a semantic tag (
fix:,chore:,feat(feature-name):,refactor:). SeeCONTRIBUTING.md. - [ ] (UI changes only) Added screenshots/GIFs to description above
- [ ] (UI changes only) Verified usability with NVDA/JAWS