Skip to content

feat: update eslint to v9#1165

Open
alexslavr wants to merge 4 commits into
fix_js_yaml_advisoryfrom
lavrov/eslint-9
Open

feat: update eslint to v9#1165
alexslavr wants to merge 4 commits into
fix_js_yaml_advisoryfrom
lavrov/eslint-9

Conversation

@alexslavr

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/.eslintignore with 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.

Comment thread packages/devextreme-cli/testing/linting.js

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread packages/devextreme-cli/testing/linting.js Outdated
@alexslavr alexslavr requested a review from a team June 22, 2026 13:32
@alexslavr alexslavr self-assigned this Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants