Update eslint to 9 and add jsdoc plugin#92
Update eslint to 9 and add jsdoc plugin#92Wendy Fouchter (Wendystraite) wants to merge 1 commit into
Conversation
|
There was a problem hiding this comment.
Pull Request Overview
This pull request updates ESLint from version 8 to 9 and migrates to the new flat configuration format. The update also adds the eslint-plugin-jsdoc to improve JSDoc validation and prevent false positives for type imports used only in documentation.
- Upgrade ESLint to v9 with flat config migration
- Add JSDoc linting with eslint-plugin-jsdoc
- Fix all new ESLint errors and warnings across the codebase
Reviewed Changes
Copilot reviewed 27 out of 28 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Update ESLint and TypeScript-ESLint to latest versions, add JSDoc plugin |
| eslint.config.mjs | New flat ESLint configuration replacing .eslintrc.json |
| .eslintrc.json | Remove old ESLint configuration file |
| Multiple TypeScript files | Fix linting errors including variable declarations, type usage, and JSDoc issues |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Wendy Fouchter (@Wendystraite) please update your PR on top of main to resolve merge conflicts. |
- Update eslint from 8 to 9. - Migrate the old config to the new eslint flat configs - Add eslint-plugin-jsdoc to check jsdoc validity and prevent false positives of "no-unused-vars" when importing a type only for jsdoc. - Fix all new errors and warnings - Fix "ComponentScope.test.tsx" that didn't check for React strict mode
88121f3 to
3ff51dd
Compare
Description of the change
See https://eslint.org/docs/latest/use/migrate-to-9.0.0
Type of change