Uh oh!
There was an error while loading. Please reload this page.
Enh/dx 9335 eslint upgrade - #246
Conversation
- Convert all .eslintrc files in cli-plugins/packages to eslint.config.js - Remove legacy .eslintrc and .eslintignore files from all packages - Update lint scripts to remove --config .eslintrc flag - Supports ESLint v10.5.0+ flat config system - All 16 packages now use native ES modules flat config format
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
Consider reviewing these vulnerabilities when fixes become available. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
Consider reviewing these vulnerabilities when fixes become available. |
There was a problem hiding this comment.
Pull request overview
Migrates the monorepo’s per-package ESLint setup from legacy .eslintrc*/.eslintignore to ESLint flat config (eslint.config.js) while upgrading ESLint to ^10.5.0 across packages.
Changes:
- Bump ESLint (and a few other deps like
tar,axios,lodash,vitest) in multiple packages. - Add per-package
eslint.config.jsfiles and remove legacy.eslintrc*/.eslintignore. - Update package scripts to stop passing
--config .eslintrc*and rely on flat config discovery.
Reviewed changes
Copilot reviewed 61 out of 65 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/contentstack-seed/package.json | Bumps eslint and tar versions. |
| packages/contentstack-seed/eslint.config.js | Adds flat ESLint config for the seed plugin. |
| packages/contentstack-seed/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-seed/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-query-export/package.json | Bumps eslint version. |
| packages/contentstack-query-export/eslint.config.js | Adds flat ESLint config for query-export plugin. |
| packages/contentstack-query-export/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-query-export/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-migration/package.json | Bumps eslint version. |
| packages/contentstack-migration/eslint.config.js | Adds (intended) flat ESLint config for migration plugin. |
| packages/contentstack-migration/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-migrate-rte/package.json | Bumps eslint version. |
| packages/contentstack-migrate-rte/eslint.config.js | Adds flat ESLint config for migrate-rte plugin. |
| packages/contentstack-migrate-rte/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-import/package.json | Bumps eslint version. |
| packages/contentstack-import/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-import/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-import/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-import-setup/package.json | Bumps eslint version. |
| packages/contentstack-import-setup/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-import-setup/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-import-setup/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-external-migrate/tsconfig.tsbuildinfo | Removes generated TS build info from the repo. |
| packages/contentstack-external-migrate/package.json | Updates lint scripts and bumps eslint plus some runtime/test deps. |
| packages/contentstack-external-migrate/eslint.config.js | Adds flat ESLint config for external-migrate plugin. |
| packages/contentstack-external-migrate/.eslintrc.js | Removes legacy ESLint RC config. |
| packages/contentstack-export/package.json | Bumps eslint version. |
| packages/contentstack-export/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-export/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-export/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-export-to-csv/package.json | Bumps eslint version. |
| packages/contentstack-export-to-csv/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-export-to-csv/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-content-type/package.json | Bumps eslint and updates scripts to rely on flat config discovery. |
| packages/contentstack-content-type/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-content-type/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-content-type/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-clone/package.json | Bumps eslint version. |
| packages/contentstack-clone/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-clone/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-cli-tsgen/package.json | Bumps eslint and updates scripts for flat config discovery. |
| packages/contentstack-cli-tsgen/eslint.config.js | Adds ESLint config file for tsgen plugin. |
| packages/contentstack-cli-cm-regex-validate/package.json | Bumps eslint and updates scripts for flat config discovery. |
| packages/contentstack-cli-cm-regex-validate/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-cli-cm-regex-validate/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-cli-cm-regex-validate/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-bulk-publish/package.json | Bumps eslint version. |
| packages/contentstack-bulk-publish/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-bulk-operations/package.json | Bumps eslint version. |
| packages/contentstack-branches/package.json | Bumps eslint version. |
| packages/contentstack-branches/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-branches/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-branches/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-bootstrap/package.json | Bumps eslint and tar versions. |
| packages/contentstack-bootstrap/eslint.config.js | Adds flat ESLint config for bootstrap plugin (with mocha globals). |
| packages/contentstack-bootstrap/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-bootstrap/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-audit/package.json | Bumps eslint and updates lint script to rely on flat config discovery. |
| packages/contentstack-audit/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-audit/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-audit/.eslintignore | Removes legacy ESLint ignore file. |
| packages/contentstack-apps-cli/package.json | Bumps eslint and updates lint script to rely on flat config discovery. |
| packages/contentstack-apps-cli/eslint.config.js | Adds flat ESLint config and moves ignores into flat config. |
| packages/contentstack-apps-cli/.eslintrc | Removes legacy ESLint RC config. |
| packages/contentstack-apps-cli/.eslintignore | Removes legacy ESLint ignore file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
feat: migrate cli-plugins ESLint configs to flat config format