Conversation
- Upgrade eslint from ^8.57.0 to ^9.39.1 - Migrate from .eslintrc.js to flat config (eslint.config.mjs) - Add required ESLint v9 dependencies (@eslint/js, typescript-eslint) - Add eslint-formatter-unix package for unix format support - Remove unused eslint-disable directive from memoize.ts - Verify all tests and linting pass successfully
- Install globals package and refactor eslint.config.mjs to use it - Replace manual globals definition with globals.node and globals.es2021 - Upgrade eslint-config-prettier: 9.1.0 → 10.1.8 - Upgrade eslint-plugin-prettier: 5.1.3 → 5.5.4 - Upgrade eslint-plugin-simple-import-sort: 10.0.0 → 12.1.1 - Upgrade eslint-plugin-tsdoc: 0.2.17 → 0.4.0 - Upgrade prettier: 3.3.2 → 3.6.2 - Verify all tests and linting pass successfully
There was a problem hiding this comment.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on December 13
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| 'tsdoc/syntax': 'warn', | ||
| }, | ||
| }, | ||
| ]; |
There was a problem hiding this comment.
Bug: Explicit ignores needed in ESLint 9 flat config
The new ESLint 9 flat config is missing an ignores configuration. ESLint 9 does not automatically respect .eslintignore files - ignores must be explicitly configured in the flat config. Without this, ESLint will attempt to lint files in dist/, node_modules/, coverage/, and other build artifacts, which can cause errors or significantly slow down linting. The configuration should include an ignores array, e.g., { ignores: ['dist/**', 'coverage/**', 'node_modules/**', 'docs/**', '**/*.js', '**/*.mjs', '**/*.cjs'] } as a separate config object at the beginning of the array.
|
🎉 This issue has been resolved in version 1.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Note
Migrates to ESLint 9 flat config, updates TypeScript/Prettier plugins and related deps, and removes legacy ESLint config.
./.eslintrc.jswitheslint.config.mjs, integrating@eslint/js,typescript-eslint,eslint-config-prettier,eslint-plugin-prettier,eslint-plugin-simple-import-sort,eslint-plugin-tsdoc, andglobals.eslintto v9 and update related linting packages; addeslint-formatter-unix.src/memoize/memoize.ts(remove obsolete inline ESLint directive).Written by Cursor Bugbot for commit 8254c6c. This will update automatically on new commits. Configure here.