feat: update eslint to v9#1165
Open
alexslavr wants to merge 4 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the devextreme-cli package’s linting toolchain to ESLint v9 and migrates project/test lint configuration from legacy .eslintrc files to ESLint “flat config” (eslint.config.mjs / *.config.mjs) to stay compatible with the new ESLint configuration model.
Changes:
- Bumped ESLint and related plugins/configs to versions compatible with ESLint v9.
- Replaced legacy
.eslintrc/.eslintignorewith flat config equivalents (eslint.config.mjs,*.config.mjs). - Updated the test lint runner to point at the new config filename pattern.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Updates dependency graph for ESLint v9 and related packages. |
| packages/devextreme-cli/package.json | Bumps ESLint + ecosystem deps and removes deprecated/unused lint deps. |
| packages/devextreme-cli/eslint.config.mjs | Introduces new flat config for the package’s own lint rules and ignore patterns. |
| packages/devextreme-cli/.eslintrc | Removes legacy ESLint RC configuration (replaced by flat config). |
| packages/devextreme-cli/.eslintignore | Removes legacy ignore file (replaced by flat config ignores). |
| packages/devextreme-cli/testing/linting.js | Switches test lint runner to use *.config.mjs override config files. |
| packages/devextreme-cli/testing/.eslintrc | Removes legacy testing ESLint RC (covered via flat config / globals handling). |
| packages/devextreme-cli/testing/lint-config/angular.eslintrc | Removes legacy Angular lint RC (replaced by angular.config.mjs). |
| packages/devextreme-cli/testing/lint-config/angular.config.mjs | Adds flat config for Angular linting via FlatCompat. |
| packages/devextreme-cli/testing/lint-config/react.eslintrc | Removes legacy React lint RC (replaced by react.config.mjs). |
| packages/devextreme-cli/testing/lint-config/react.config.mjs | Adds flat config for React linting. |
| packages/devextreme-cli/testing/lint-config/react-ts.eslintrc | Removes legacy React TS lint RC (replaced by react-ts.config.mjs). |
| packages/devextreme-cli/testing/lint-config/react-ts.config.mjs | Adds flat config for React+TypeScript linting. |
| packages/devextreme-cli/testing/lint-config/vue.eslintrc | Removes legacy Vue lint RC (replaced by vue.config.mjs). |
| packages/devextreme-cli/testing/lint-config/vue.config.mjs | Adds flat config for Vue linting. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
GoodDayForSurf
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.