Skip to content

Bump js-yaml, eslint and eslint-plugin-import in /e2e/playwright#1033

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/e2e/playwright/multi-7b4c1e4841
Closed

Bump js-yaml, eslint and eslint-plugin-import in /e2e/playwright#1033
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/e2e/playwright/multi-7b4c1e4841

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 30, 2026

Copy link
Copy Markdown
Contributor

Removes js-yaml. It's no longer used after updating ancestor dependencies js-yaml, eslint and eslint-plugin-import. These dependencies need to be updated together.

Removes js-yaml

Updates eslint from 7.32.0 to 10.6.0

Release notes

Sourced from eslint's releases.

v10.6.0

Features

  • b1f9106 feat: detect Symbol() and BigInt() in no-constant-binary-expression (#20981) (Taejin Kim)
  • f291007 feat: add checkRelationalComparisons to no-constant-binary-expression (#20948) (sethamus)

Bug Fixes

  • 6b05784 fix: prefer-exponentiation-operator invalid autofix at statement start (#20997) (Milos Djermanovic)
  • bb9eb2a fix: account for shadowed Boolean in no-extra-boolean-cast (#21013) (den$)
  • 8fd8741 fix: don't report shadowed undefined in radix rule (#21011) (Pixel)
  • 5784980 fix: don't report shadowed undefined in no-throw-literal (#21010) (Pixel)
  • 9cd1e6d fix: suppress invalid class suggestion in no-promise-executor-return (#21008) (Pixel)
  • d4eb2dc fix: don't report shadowed undefined in prefer-promise-reject-errors (#21006) (Pixel)
  • 2360464 fix: prefer-promise-reject-errors false positives for shadowed Promise (#21003) (den$)
  • 63d52d2 fix: restore max-classes-per-file report range (#21002) (Pixel)
  • 7feaff0 fix: callback detection logic for IIFEs in max-nested-callbacks (#20979) (fnx)
  • 399a2ec fix: don't report inner non-callbacks in max-nested-callbacks (#20995) (Milos Djermanovic)

Documentation

  • a83683d docs: Update README (GitHub Actions Bot)
  • f5449f9 docs: document userland patterns for global assertionOptions in RuleT… (#20986) (playgirl)
  • bea49f7 docs: Update README (GitHub Actions Bot)
  • e5f70f9 docs: update code-path diagrams (#20984) (Tanuj Kanti)
  • 8890c2d docs: add TypeScript config guidance for MCP server (#20796) (Pierluigi Lenoci)
  • 3eb3d9b docs: Update README (GitHub Actions Bot)
  • c5bb59c docs: Update README (GitHub Actions Bot)
  • eb3c97c docs: fix grammar in prefer-const rule description (#20983) (lumir)

Chores

  • 6a42034 ci: run ecosystem tests on main branch (#20891) (sethamus)
  • 3dbacdb ci: bump actions/checkout from 6 to 7 (#21014) (dependabot[bot])
  • c3abfca chore: correct JSDoc param types in html formatter (#21018) (Minseon Kim)
  • a832320 ci: split ecosystem tests into separate jobs (#21001) (xbinaryx)
  • 27166e7 chore: update ecosystem plugins (#21005) (ESLint Bot)
  • 865d76e ci: bump pnpm/action-setup from 6.0.8 to 6.0.9 (#20989) (dependabot[bot])
  • 27a88c9 chore: update dependency markdown-it to v14 in root (#20994) (Milos Djermanovic)
  • 970cea6 chore: update dependency markdown-it to v14 (#20993) (Milos Djermanovic)
  • b482120 chore: update dependency prettier to v3.8.4 (#20990) (renovate[bot])
  • 6993fb3 chore: update ecosystem plugins (#20985) (ESLint Bot)

v10.5.0

Features

  • 5ca8c52 feat: correct stack tracking in max-nested-callbacks (#20973) (Pixel998)
  • b565783 feat: report no-with violations at the with keyword (#20971) (Pixel998)
  • 2ce032f feat: report max-lines-per-function violations at function head (#20966) (Pixel998)
  • 732cb3e feat: report max-nested-callbacks violations at function head (#20967) (Pixel998)
  • f9c138a feat: report max-depth violations on keywords (#20943) (Pixel998)
  • bdb496c feat: correct max-depth handling for else-if chains (#20944) (Pixel998)
  • c296873 feat: update error loc in max-statements to function header (#20907) (Taejin Kim)

Documentation

... (truncated)

Commits
  • 5d12a04 10.6.0
  • f7ca54b Build: changelog update for 10.6.0
  • 6a42034 ci: run ecosystem tests on main branch (#20891)
  • b1f9106 feat: detect Symbol() and BigInt() in no-constant-binary-expression (#20981)
  • 3dbacdb ci: bump actions/checkout from 6 to 7 (#21014)
  • c3abfca chore: correct JSDoc param types in html formatter (#21018)
  • a83683d docs: Update README
  • a832320 ci: split ecosystem tests into separate jobs (#21001)
  • 6b05784 fix: prefer-exponentiation-operator invalid autofix at statement start (#20997)
  • bb9eb2a fix: account for shadowed Boolean in no-extra-boolean-cast (#21013)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by eslintbot, a new releaser for eslint since your current version.


Updates eslint-plugin-import from 2.22.0 to 2.32.0

Release notes

Sourced from eslint-plugin-import's releases.

v2.32.0

Added

Fixed

Changed

... (truncated)

Changelog

Sourced from eslint-plugin-import's changelog.

[2.32.0] - 2025-06-20

Added

  • add [enforce-node-protocol-usage] rule and import/node-version setting (#3024, thanks [@​GoldStrikeArch] and [@​sevenc-nanashi])
  • add TypeScript types (#3097, thanks [@​G-Rath])
  • [extensions]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier (#3105, thanks [@​Xunnamius])
  • [order]: add sortTypesGroup option to allow intragroup sorting of type-only imports (#3104, thanks [@​Xunnamius])
  • [order]: add newlines-between-types option to control intragroup sorting of type-only imports (#3127, thanks [@​Xunnamius])
  • [order]: add consolidateIslands option to collapse excess spacing for aesthetically pleasing imports (#3129, thanks [@​Xunnamius])

Fixed

  • [no-unused-modules]: provide more meaningful error message when no .eslintrc is present (#3116, thanks [@​michaelfaith])
  • configs: added missing name attribute for eslint config inspector (#3151, thanks [@​NishargShah])
  • [order]: ensure arcane imports do not cause undefined behavior (#3128, thanks [@​Xunnamius])
  • [order]: resolve undefined property access issue when using named ordering (#3166, thanks [@​Xunnamius])
  • [enforce-node-protocol-usage]: avoid a crash with some TS code (#3173, thanks [@​ljharb])
  • [order]: codify invariants from docs into config schema (#3152, thanks [@​Xunnamius])

Changed

[2.31.0] - 2024-10-03

Added

Fixed

  • ExportMap / flat config: include languageOptions in context (#3052, thanks [@​michaelfaith])
  • [no-named-as-default]: Allow using an identifier if the export is both a named and a default export (#3032, thanks [@​akwodkiewicz])
  • [export]: False positive for exported overloaded functions in TS (#3065, thanks [@​liuxingbaoyu])
  • exportMap: export map cache is tainted by unreliable parse results (#3062, thanks [@​michaelfaith])
  • exportMap: improve cacheKey when using flat config (#3072, thanks [@​michaelfaith])
  • adjust "is source type module" checks for flat config (#2996, thanks [@​G-Rath])

Changed

... (truncated)

Commits
  • 01c9eb0 v2.32.0
  • ae57cc1 [Deps] update array-includes, array.prototype.findlastindex, `eslint-modu...
  • 9e1ad6b [Fix] order: codify invariants from docs into config schema
  • f017790 [Docs] no-restricted-paths: clarify wording and fix errors
  • 7d83a57 [Docs] no-unused-modules: add missing double quote
  • 519eb94 [utils] v2.12.1
  • 71ad145 [actions] split out tests into new vs old eslint
  • 9b096c4 [utils] [dev deps] update @arethetypeswrong/cli, @ljharb/tsconfig, `@type...
  • da5f6ec [Fix] enforce-node-protocol-usage: avoid a crash with some TS code
  • 6e49a58 [Refactor] order: remove unnecessary negative check
  • Additional commits viewable in compare view
Install script changes

This version modifies prepublish script that runs during installation. Review the package contents before updating.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Change Impact: 🟢 Low

Reasoning: These updates are limited to development tooling in /e2e/playwright and do not affect runtime behavior, public APIs, or core application logic. The blast radius is small and rollback would be straightforward.

Regression Risk: Low; the main risk is limited to lint/config compatibility or developer workflow disruption rather than user-facing functionality.

QA Recommendation: Minimal manual QA is needed. A quick validation of the affected Playwright linting/dev workflow is sufficient; this is generally safe to skip broader manual QA.
Generated by CodeRabbitAI

Removes [js-yaml](https://github.com/nodeca/js-yaml). It's no longer used after updating ancestor dependencies [js-yaml](https://github.com/nodeca/js-yaml), [eslint](https://github.com/eslint/eslint) and [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import). These dependencies need to be updated together.


Removes `js-yaml`

Updates `eslint` from 7.32.0 to 10.6.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v7.32.0...v10.6.0)

Updates `eslint-plugin-import` from 2.22.0 to 2.32.0
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](import-js/eslint-plugin-import@v2.22.0...v2.32.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version:
  dependency-type: indirect
- dependency-name: eslint
  dependency-version: 10.6.0
  dependency-type: direct:development
- dependency-name: eslint-plugin-import
  dependency-version: 2.32.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the 2: Dev Review Requires review by a core committer label Jun 30, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner June 30, 2026 13:31
@dependabot dependabot Bot added the 2: Dev Review Requires review by a core committer label Jun 30, 2026
@mattermost-build

Copy link
Copy Markdown
Contributor

Hello @dependabot[bot],

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@nang2049

nang2049 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This change updates two devDependency versions in the Playwright e2e test suite's package.json: eslint from 7.32.0 to 10.6.0 and eslint-plugin-import from 2.22.0 to 2.32.0.

Changes

Dev dependency updates

Layer / File(s) Summary
ESLint dependency version bump
e2e/playwright/package.json
eslint updated from 7.32.0 to 10.6.0 and eslint-plugin-import updated from 2.22.0 to 2.32.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A hop, a skip, a version raise,
eslint grows in newer ways,
No code was touched, no logic bent,
Just numbers changed with good intent. 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the dependency bumps in /e2e/playwright and matches the main changes in the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/e2e/playwright/multi-7b4c1e4841

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@e2e/playwright/package.json`:
- Line 20: The ESLint 10 upgrade in the Playwright package is incomplete because
the existing .eslintrc.json and the current `@typescript-eslint` parser/plugin
versions are not compatible with it. Update the Playwright lint setup to use a
flat config and ESLint-10-compatible `@typescript-eslint` packages, or otherwise
keep ESLint on a supported major; make sure the package-level lint entrypoint
still works with the new config.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 4933cc97-c64c-4d2e-b602-edd346eb59f9

📥 Commits

Reviewing files that changed from the base of the PR and between 3fe4e89 and aae4c98.

⛔ Files ignored due to path filters (1)
  • e2e/playwright/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • e2e/playwright/package.json

"dotenv": "^16.0.3",
"eslint": "7.32.0",
"eslint-plugin-import": "2.22.0",
"eslint": "10.6.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🔴 Critical | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

set -euo pipefail

printf '\n## package.json\n'
cat -n e2e/playwright/package.json

printf '\n## eslint config files\n'
git ls-files 'e2e/playwright/*eslint*' 'e2e/playwright/.eslintrc*' 'e2e/playwright/eslint.config.*' || true

printf '\n## package-local ESLint config\n'
for f in e2e/playwright/.eslintrc.json e2e/playwright/eslint.config.js e2e/playwright/eslint.config.mjs e2e/playwright/eslint.config.cjs; do
  if [ -f "$f" ]; then
    echo "--- $f"
    cat -n "$f"
  fi
done

printf '\n## workflow references\n'
rg -n "npm run lint|eslint|node" .github/workflows/playwright.yml e2e/playwright/package.json || true
sed -n '130,170p' .github/workflows/playwright.yml

Repository: mattermost/mattermost-plugin-github

Length of output: 4873


🏁 Script executed:

set -euo pipefail

printf '\n## lockfile matches for eslint and parsers\n'
rg -n '"eslint"|`@typescript-eslint/`(eslint-plugin|parser)|eslint-plugin-(import|react|react-hooks)' e2e/playwright/package-lock.json || true

printf '\n## ESLint package metadata in lockfile\n'
python3 - <<'PY'
import json, re
from pathlib import Path

p = Path("e2e/playwright/package-lock.json")
data = json.loads(p.read_text())
pkgs = data.get("packages", {})
for key in ["node_modules/eslint", "node_modules/@typescript-eslint/parser", "node_modules/@typescript-eslint/eslint-plugin", "node_modules/eslint-plugin-import"]:
    if key in pkgs:
        print(f"--- {key}")
        for k in ["version", "peerDependencies", "dependencies", "engines"]:
            if k in pkgs[key]:
                print(k, pkgs[key][k])
PY

printf '\n## any flat config file in e2e/playwright\n'
fd -a 'eslint.config.*' e2e/playwright || true

printf '\n## package-lock top-level package versions\n'
python3 - <<'PY'
import json
from pathlib import Path
data = json.loads(Path("e2e/playwright/package-lock.json").read_text())
root = data.get("packages", {}).get("", {})
print(root.get("devDependencies", {}))
PY

Repository: mattermost/mattermost-plugin-github

Length of output: 5690


ESLint 10 needs a config/plugin migration first

e2e/playwright/.eslintrc.json won’t be picked up here, and @typescript-eslint/parser / @typescript-eslint/eslint-plugin v5.59 only support ESLint up to 8. npm run lint in CI will fail until this package moves to flat config and ESLint-10-compatible plugins, or ESLint is kept on a supported major.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@e2e/playwright/package.json` at line 20, The ESLint 10 upgrade in the
Playwright package is incomplete because the existing .eslintrc.json and the
current `@typescript-eslint` parser/plugin versions are not compatible with it.
Update the Playwright lint setup to use a flat config and ESLint-10-compatible
`@typescript-eslint` packages, or otherwise keep ESLint on a supported major; make
sure the package-level lint entrypoint still works with the new config.

@nang2049

nang2049 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Closing this as the ESlint 7 to 10 bump is a breaking change we can't take in isolation.

  • e2e/playwright/.eslintrc.json extends webapp/.eslintrc.json. Flat config eslint.config.mjs is now required.
  • @typescript-eslint/parser and @typescript-eslint/eslint-plugin are pinned at 5.59.0 and only support Eslint 6/7/8. Need typescript-eslint v8+ for version 9/10.
  • eslint-plugin-react ~7.32.2 predates 9 support.
  • The lint script uses --ext .js --ext ts, which was removed in flat config.

We should add ESlint to the dependabot ignore list so we stop getting these bumps until we're ready. Then migrate webapp/ and e2e/playwright/ to ESlint flat config in a single dedicated PR.

@nang2049 nang2049 closed this Jul 1, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/e2e/playwright/multi-7b4c1e4841 branch July 1, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2: Dev Review Requires review by a core committer Contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants