Skip to content

deps(deps-dev): bump the typescript-eslint group across 1 directory with 3 updates - #309

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sdks/javascript/typescript-eslint-c8ee4ef9af
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sdks/javascript/typescript-eslint-c8ee4ef9af

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps the typescript-eslint group with 3 updates in the /sdks/javascript directory: @typescript-eslint/eslint-plugin, @typescript-eslint/parser and eslint.

Updates @typescript-eslint/eslint-plugin from 5.62.0 to 8.65.0

Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v8.65.0

8.65.0 (2026-07-20)

🚀 Features

  • add warning when TS 7 is detected (#12529)
  • eslint-plugin: [no-restricted-imports] deprecate extension rule (#12527, #19562, #11889)
  • eslint-plugin: [no-shadow] specialized error on enum declaration and member shadowing (#12578)
  • parser: add onUnsupportedTypeScriptVersion option to error on unsupported TypeScript versions (#12465)
  • typescript-estree: throw for invalid import defer syntax (#12552)

🩹 Fixes

  • eslint-plugin: [prefer-string-starts-ends-with] handle escaped $ ending regex literals (#12515)
  • eslint-plugin: [unbound-method] report unbound methods accessed via member expression on union types (#12448)
  • eslint-plugin: [no-unnecessary-parameter-property-assignment] don't flag computed assignments with a variable key (#12568)

❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.64.0

8.64.0 (2026-07-13)

🚀 Features

  • support parsing import defer (#12513)
  • eslint-plugin: [no-loop-func] support using / await using declarations and deprecate the rule (#12500)
  • typescript-estree: throw for invalid definite assignment in class properties (#12543)

🩹 Fixes

  • eslint-plugin: [require-array-sort-compare] handle constrained arrays (#12512)

❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

... (truncated)

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

8.65.0 (2026-07-20)

🚀 Features

  • eslint-plugin: [no-shadow] specialized error on enum declaration and member shadowing (#12578)
  • add warning when TS 7 is detected (#12529)
  • eslint-plugin: [no-restricted-imports] deprecate extension rule (#12527, #19562, #11889)

🩹 Fixes

  • eslint-plugin: [no-unnecessary-parameter-property-assignment] don't flag computed assignments with a variable key (#12568)
  • eslint-plugin: [unbound-method] report unbound methods accessed via member expression on union types (#12448)
  • eslint-plugin: [prefer-string-starts-ends-with] handle escaped $ ending regex literals (#12515)

❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

8.64.0 (2026-07-13)

🚀 Features

  • eslint-plugin: [no-loop-func] support using / await using declarations and deprecate the rule (#12500)
  • typescript-estree: throw for invalid definite assignment in class properties (#12543)

🩹 Fixes

  • eslint-plugin: [require-array-sort-compare] handle constrained arrays (#12512)

❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

8.63.0 (2026-07-06)

🚀 Features

... (truncated)

Commits
  • 63ba81b chore(release): publish 8.65.0
  • aa602bd fix(eslint-plugin): [no-unnecessary-parameter-property-assignment] don't flag...
  • 1e90d67 feat(eslint-plugin): [no-shadow] specialized error on enum declaration and me...
  • b32fb34 docs: fix broken code samples in no-extraneous-class and prefer-function-type...
  • eaf4576 feat: add warning when TS 7 is detected (#12529)
  • 18c01c7 feat(eslint-plugin): [no-restricted-imports] deprecate extension rule (#12527)
  • 96e8fe2 fix(eslint-plugin): [unbound-method] report unbound methods accessed via memb...
  • 0d06406 chore: add attw validation to repo (#12437)
  • 9d9973b fix(eslint-plugin): [prefer-string-starts-ends-with] handle escaped $ ending ...
  • c2386e4 chore(deps): update dependency prettier to v3.9.5 (#12486)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​typescript-eslint/eslint-plugin since your current version.


Updates @typescript-eslint/parser from 5.62.0 to 8.65.0

Release notes

Sourced from @​typescript-eslint/parser's releases.

v8.65.0

8.65.0 (2026-07-20)

🚀 Features

  • add warning when TS 7 is detected (#12529)
  • eslint-plugin: [no-restricted-imports] deprecate extension rule (#12527, #19562, #11889)
  • eslint-plugin: [no-shadow] specialized error on enum declaration and member shadowing (#12578)
  • parser: add onUnsupportedTypeScriptVersion option to error on unsupported TypeScript versions (#12465)
  • typescript-estree: throw for invalid import defer syntax (#12552)

🩹 Fixes

  • eslint-plugin: [prefer-string-starts-ends-with] handle escaped $ ending regex literals (#12515)
  • eslint-plugin: [unbound-method] report unbound methods accessed via member expression on union types (#12448)
  • eslint-plugin: [no-unnecessary-parameter-property-assignment] don't flag computed assignments with a variable key (#12568)

❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.64.0

8.64.0 (2026-07-13)

🚀 Features

  • support parsing import defer (#12513)
  • eslint-plugin: [no-loop-func] support using / await using declarations and deprecate the rule (#12500)
  • typescript-estree: throw for invalid definite assignment in class properties (#12543)

🩹 Fixes

  • eslint-plugin: [require-array-sort-compare] handle constrained arrays (#12512)

❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

... (truncated)

Changelog

Sourced from @​typescript-eslint/parser's changelog.

8.65.0 (2026-07-20)

🚀 Features

  • add warning when TS 7 is detected (#12529)
  • parser: add onUnsupportedTypeScriptVersion option to error on unsupported TypeScript versions (#12465)

❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

8.64.0 (2026-07-13)

This was a version bump only for parser to align it with other projects, there were no code changes.

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

8.63.0 (2026-07-06)

This was a version bump only for parser to align it with other projects, there were no code changes.

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

8.62.1 (2026-06-29)

This was a version bump only for parser to align it with other projects, there were no code changes.

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

8.62.0 (2026-06-22)

🚀 Features

  • remove redundant package.json "files" (#12444)

❤️ Thank You

... (truncated)

Commits
  • 63ba81b chore(release): publish 8.65.0
  • eaf4576 feat: add warning when TS 7 is detected (#12529)
  • d8f1044 feat(parser): add onUnsupportedTypeScriptVersion option to error on unsupport...
  • 0d06406 chore: add attw validation to repo (#12437)
  • c2386e4 chore(deps): update dependency prettier to v3.9.5 (#12486)
  • 414d9ab chore(release): publish 8.64.0
  • 290cf6c chore(release): publish 8.63.0
  • 3ea32f4 chore(release): publish 8.62.1
  • 54e2857 chore(release): publish 8.62.0
  • 81e4c26 feat: remove redundant package.json "files" (#12444)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​typescript-eslint/parser since your current version.


Updates eslint from 8.57.1 to 10.8.0

Release notes

Sourced from eslint's releases.

v10.8.0

Features

  • 2fee9bb feat: export ConfigObject from eslint/config (#21082) (sethamus)

Bug Fixes

  • 6b8d2f7 fix: escape reserved characters in rule id in html formatter (#21129) (Francesco Trotta)
  • 9091071 fix: prevent no-unreachable-loop crash when all loop types are ignored (#21116) (Pixel)
  • e23fafe fix: prefer-object-spread add semicolon when adding parenthesis (#21081) (synthex-byte)
  • 20b5ad0 fix: quadratic-time regex in prefer-template (#21096) (Milos Djermanovic)
  • 8b6f6c0 fix: apply ignore configs to computed methods in class-methods-use-this (#21094) (Pixel)
  • b2c608c fix: NewExpression with parenthesized callee in preserve-caught-error (#21083) (Francesco Trotta)

Documentation

  • 6ddf858 docs: fix broken Specify Parser Options anchor link (#21106) (Minsu)
  • 784dfbe docs: Clarify no-eq-null description (#21120) (Park Harin)
  • 7ec733a docs: Fix typos and grammar in glossary (#21095) (Marry (Subin Yang))
  • 92bb13f docs: replace quake link (#21108) (Jung Hyeon Jun)
  • 68eb4a5 docs: fix broken Specify Globals anchor links in rule pages (#21103) (Minsu)
  • d28f697 docs: replace Code Climate CLI links with Qlty CLI links (#21099) (Jung Hyeon Jun)
  • eccc68d docs: correct --suppressions-location option description (#21093) (Ga eun Lee)
  • c5963f7 docs: Update README (GitHub Actions Bot)

Chores

  • 4fbf46d test: pin webpack version to 5.108.4 (#21137) (Francesco Trotta)
  • 2d063e2 chore: update HTTP URLs to HTTPS in JSDoc and comments (#21101) (Bo Hyun Kim)
  • eccbe7b test: add error locations to no-class-assign (#21123) (devoil)
  • e7d1e43 ci: bump actions/setup-go from 6 to 7 (#21118) (dependabot[bot])
  • e9d66d0 ci: bump actions/setup-node from 6 to 7 (#21119) (dependabot[bot])
  • ee225b6 test: Add error location details to no-eq-null rule (#21117) (Park Harin)
  • 044a627 chore: update minimatch to ^10.2.5 (#21107) (김채영)
  • fb09aa8 chore: update ecosystem plugins (#21115) (ESLint Bot)
  • 5abd878 test: add error locations to no-proto (#21114) (Gihyeon Jeong / 정기현)
  • 9715887 test: Add error location details to no-div-regex (#21110) (Park Harin)
  • a746ec6 test: add error locations to no-new-wrappers (#21109) (Gihyeon Jeong / 정기현)
  • 8dde645 test: add error locations to no-ex-assign (#21102) (devoil)
  • 13ab0ec test: add error locations to no-label-var (#21098) (Gihyeon Jeong / 정기현)
  • a99906f test: Add error location details to no-delete-var rule (#21105) (Park Harin)
  • c47e8dc chore: add missing backticks to languages/js/index.js (#21104) (beeen)
  • 0174428 chore: add missing backticks to translate-cli-options.js (#21097) (dongkyu lee)
  • 3d36589 chore: add missing backticks to serialization.js (#21091) (이규환)
  • dcc9312 test: add error locations to eqeqeq (#21090) (Ga eun Lee)
  • 2710b18 ci: Add explicit permissions to rebuild-docs-sites workflow (#21089) (Marry (Subin Yang))
  • 5d2f866 chore: update dependency prettier to v3.9.5 (#21086) (renovate[bot])
  • d584e31 chore: fix failing ecosystem test for eslint-plugin-unicorn (#21084) (Francesco Trotta)
  • bf3eda0 chore: update ecosystem plugins (#21079) (ESLint Bot)

v10.7.0

Features

  • cf2a9bf feat: add errorClassNames option to preserve-caught-error rule (#21032) (sethamus)
  • f8b873a feat: max-nested-callbacks option for constructor callbacks (#21063) (fnx)

... (truncated)

Commits

@dependabot dependabot Bot added automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) javascript npm dependency (docs-platform, sdks/javascript) labels Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version:
New Version:

Please review the changelog and breaking changes before merging.

6 similar comments
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version:
New Version:

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version:
New Version:

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version:
New Version:

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version:
New Version:

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version:
New Version:

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version:
New Version:

Please review the changelog and breaking changes before merging.

@dependabot dependabot Bot changed the title deps(deps-dev): bump the typescript-eslint group in /sdks/javascript with 3 updates deps(deps-dev): bump the typescript-eslint group across 1 directory with 3 updates Aug 3, 2026
…ith 3 updates

Bumps the typescript-eslint group with 3 updates in the /sdks/javascript directory: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [eslint](https://github.com/eslint/eslint).


Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 8.65.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.65.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 5.62.0 to 8.65.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.65.0/packages/parser)

Updates `eslint` from 8.57.1 to 10.8.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v8.57.1...v10.8.0)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.65.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: typescript-eslint
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.65.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: typescript-eslint
- dependency-name: eslint
  dependency-version: 10.8.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: typescript-eslint
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sdks/javascript/typescript-eslint-c8ee4ef9af branch from b2b8599 to 80ec4e0 Compare August 3, 2026 21:02
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Update Type: version-update:semver-major
Previous Version: 5.62.0
New Version: 8.65.0

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

Assessed but not merged — this one is a human decision, unlike #308 which I closed as impossible.

It installs. Unlike the TypeScript-toolchain group (#308, closed because ts-jest has no release peering typescript@7, so TypeScript 7 is unreachable at any grouping), the regrouped @typescript-eslint/* + eslint bump resolves cleanly: 400 packages, no ERESOLVE. The grouping fix from #307 did its job here.

But it needs a config rewrite to be useful, and that work isn't in this PR. eslint 9 removed .eslintrc-style configuration in favour of flat eslint.config.js. This SDK's config lives in the eslintConfig block of package.json (lines 96-116), which eslint 10 does not read at all:

$ npx eslint "src/**/*.ts"     # with this PR's versions
ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
From ESLint v9.0.0, the default configuration file is now eslint.config.js.

The mitigating fact: there is nothing to regress. npm run lint does not work on main either, and hasn't. At the currently pinned [email protected] it fails before linting a single file, because extends says "@typescript-eslint/recommended" where the correct name is "plugin:@typescript-eslint/recommended" — verified on a clean install of the unmodified manifest. And nothing in CI runs it: grep -rn "npm run lint|eslint" .github/workflows/ is empty, so a lint script that cannot start is indistinguishable from one that passes. Recorded on #314, which is the tracking issue for this class in this SDK (48 tsc errors, same cause — a target nothing executes).

So the options are: merge and write the flat config as a follow-up (the versions are current and the config was broken before, so this strictly improves the version situation while leaving lint equally non-functional), or close and do both together under #314's step 3, which is where npm run build and npm run lint are already scheduled to enter sdk-metrics.

I'd lean toward the second — writing the flat config once, at eslint 10, rather than merging a bump that makes the config two majors obsolete instead of one. But that's a call about your review time, not a technical blocker, so it's yours. Leaving this open either way; no auto-merge armed.

@scttfrdmn

Copy link
Copy Markdown
Owner

Measured against merged main: this one does not install-and-pass, and now that matters

#327 is merged, so npm run lint runs in CI as its own step for the first time. That changes this PR from "a bump nothing verifies" into "a bump that fails a required check", and it does. Everything below was run, not inferred.

The install is fine. [email protected] + @typescript-eslint/*@8.66.0 resolve cleanly — no ERESOLVE. That was the original objection in #297 and it is resolved by the grouping.

The lint then cannot start:

ESLint couldn't find an eslint.config.(js|mjs|cjs) file.
From ESLint v9.0.0, the default configuration file is now eslint.config.js.

ESLint 10 ignores the eslintConfig block in package.json entirely — including the extends prefix that #327 just repaired. So this bump silently discards that fix and replaces a working lint with a non-starting one.

Writing the flat config is necessary but not sufficient. I translated the existing block (parser, three extends, prettier plugin, five rules) into an eslint.config.js and hit a second, independent wall:

TypeError: Error while loading rule 'prettier/prettier': context.getSourceCode is not a function

[email protected] calls an API ESLint 10 removed. Its latest (5.5.6) peers prettier >=3.0.0, and this SDK pins prettier: ^2.8.8. So the real change set is five packages, not three:

package now needed
eslint ^8.40.0 ^10.8.0 (this PR)
@typescript-eslint/{eslint-plugin,parser} ^5.59.0 ^8.65.0 (this PR)
eslint-plugin-prettier ^4.2.1 ^5.5.6
eslint-config-prettier ^8.8.0 ^10.1.8
prettier ^2.8.8 ^3

With all five plus a flat config, lint runs: 32 problems — 13 errors, 19 warnings. --fix clears 5, leaving 8 errors, all @typescript-eslint/no-unused-vars on unused catch bindings (catch (error) where the handler ignores it). typescript-eslint 8 reports those; v5 did not. They are mechanical — rename to _error, which the config's existing argsIgnorePattern: '^_' already exempts, or drop the binding via catch {}.

The prettier 2 → 3 reflow accounts for the 5 autofixable ones and touches formatting across src/. tsc --noEmit is still 0 errors after the reformat, so the reflow is cosmetic, but it will produce a diff much larger than this PR's three lines.

Recommendation

Do not merge as-is — it would fail the lint step on main, and it would quietly undo #327's eslint fix. Two defensible paths:

  1. Close this and do the eslint 10 migration as one deliberate PR: five package bumps, a new eslint.config.js, the prettier 3 reflow, and eight catch renames. This is what I deferred out of fix(sdks): all four SDKs compile, are gated in CI, and stop reporting work they never did #327 rather than rushing, and the numbers above say it is small — an afternoon, mostly reviewing a formatting diff.
  2. Keep the group at eslint 9, which still reads eslintConfig, and take typescript-eslint 8 alone. Worth confirming separately that typescript-eslint 8 supports eslintrc-style config; v8 still does, but v9 will not, so this only buys time.

I lean towards (1) — the flat config is where eslint is going and every month of delay adds reflow to the same eventual diff. Either way this is a product-shaped decision and I am not merging it on my own.

Note also that this PR edits only package.json, and #327 committed a package-lock.json with npm ci in CI, so it needs a Dependabot rebase to regenerate the lockfile regardless of which path is chosen — same as #310.

@scttfrdmn

Copy link
Copy Markdown
Owner

Closing in favour of #335, which takes eslint 10 along with the change that has to accompany it.

Why this could not be merged as opened. eslint 10 does not read package.json's eslintConfig block at all — it requires a flat eslint.config.js. This repository has none, so with the bump applied npm run lint either errors out or lints with default rules depending on the invocation, and either way every rule the JavaScript SDK is configured with is silently gone. That is the same failure mode #327 had just finished fixing from the other direction, where the block was read but named a preset that did not resolve, and nobody noticed because no job ran the linter.

This is not something Dependabot can produce: it bumps versions, and this release changed where configuration lives. The version bump and the flat config belong in one commit or neither is correct.

#335 carries the bump plus:

  • sdks/javascript/eslint.config.js — a port of the old block, same five rules and same severities, with the three non-obvious translation points recorded in the file (no extends in flat config; env splits into globals + ecmaVersion; .eslintignore is no longer read, so dist/** must be an ignores entry).
  • The dead eslintConfig block deleted, so there is not a second authoritative-looking rule set that nothing reads.
  • Two real defects the bump surfaced. typescript-eslint 8 defaults caughtErrors: 'all', so all eight discarded catch bindings reported. Six were deliberate and are renamed _error. Two were throwing a new error while dropping the cause of the original: findBinary() reported every which objectfs failure as "not in PATH" (a missing which, a permissions failure, and an unwritable cwd all land there), and prepareMountPoint() reported every access rejection as "insufficient permissions", including ENOENT for a mount point that simply does not exist. Both now include the cause.
  • A third, from linting test files for the first time: index.test.ts disabled @typescript-eslint/no-var-requires, which typescript-eslint 8 renamed to no-require-imports, so the directive had been suppressing nothing.

Verified: npm run lint 0 errors / 19 warnings (all no-explicit-any, warn by design), npm run build emits dist/, npm test 65/65. The config was mutation-checked — an unused binding and a formatting violation introduced into src/errors.ts both report as errors, and reverting returns it to 0 — so the rules are enforced rather than merely present.

@scttfrdmn scttfrdmn closed this Aug 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/sdks/javascript/typescript-eslint-c8ee4ef9af branch August 4, 2026 00:37
scttfrdmn added a commit that referenced this pull request Aug 4, 2026
CHANGELOG conflict only: #334's docs-site and codeql-v4 entries landed in the
same 'Fixed' section this branch adds its #309 entry to. Both kept, in the
order main has them.
scttfrdmn added a commit that referenced this pull request Aug 4, 2026
CHANGELOG conflict only, third time: #291 (okhttp) and the docs-platform
lockfile both landed entries in the same 'Fixed' section this branch adds #309
to. All kept, in main's order.
scttfrdmn added a commit that referenced this pull request Aug 4, 2026
#335)

Dependabot's #309 bumped eslint to 10.x alone. That could not be merged: eslint 10
does not read package.json's `eslintConfig` block at all, so the bump would have
silently discarded every rule this SDK lints with — including the config fix that
had just landed for the same file — and left `npm run lint` either erroring or
running with defaults, depending on how it was invoked.

So the block moves to sdks/javascript/eslint.config.js, as a port and not a
rewrite: same five rules, same severities. Three translation points are recorded
in the file, because none of them is visible from a version diff — flat config has
no `extends`, `env` splits into `globals` plus `ecmaVersion`, and `.eslintignore`
is no longer read so `dist/**` has to be an `ignores` entry or the emitted
JavaScript gets linted as source.

typescript-eslint 8 then found two real defects, because it defaults
`caughtErrors: 'all'` and reports every discarded catch binding. Six of the eight
sites were deliberate and are renamed `_error`. The other two threw a new error
while dropping the cause of the original:

  - findBinary() reported every execSync('which objectfs') failure as "not found
    in PATH", which sends the reader to the wrong place when the cause was a
    permissions failure or an unwritable cwd.
  - prepareMountPoint() reported every `access` rejection as "insufficient
    permissions", including ENOENT for a mount point that does not exist.

Both now include the cause. Test files are linted now, which they were not
before, and that found a third thing: index.test.ts disabled
`@typescript-eslint/no-var-requires`, a rule typescript-eslint 8 renamed to
`no-require-imports`, so the directive had been suppressing nothing.

Verified: `npm run lint` 0 errors / 19 warnings (all no-explicit-any, `warn` by
design), `npm run build` emits dist/, `npm test` 65/65. The config itself was
mutation-checked — an unused binding and a formatting violation were introduced
and both reported as errors, so the rules are enforced rather than merely present.
scttfrdmn added a commit that referenced this pull request Aug 4, 2026
CHANGELOG conflict only: #309 and #291 landed entries in the same 'Fixed'
section this branch adds its #214 entry to. All three kept, in main's order.
scttfrdmn added a commit that referenced this pull request Aug 4, 2026
…nd 1 (#338)

* deps(js): take eslint 10 by moving the config where eslint 10 reads it

Dependabot's #309 bumped eslint to 10.x alone. That could not be merged: eslint 10
does not read package.json's `eslintConfig` block at all, so the bump would have
silently discarded every rule this SDK lints with — including the config fix that
had just landed for the same file — and left `npm run lint` either erroring or
running with defaults, depending on how it was invoked.

So the block moves to sdks/javascript/eslint.config.js, as a port and not a
rewrite: same five rules, same severities. Three translation points are recorded
in the file, because none of them is visible from a version diff — flat config has
no `extends`, `env` splits into `globals` plus `ecmaVersion`, and `.eslintignore`
is no longer read so `dist/**` has to be an `ignores` entry or the emitted
JavaScript gets linted as source.

typescript-eslint 8 then found two real defects, because it defaults
`caughtErrors: 'all'` and reports every discarded catch binding. Six of the eight
sites were deliberate and are renamed `_error`. The other two threw a new error
while dropping the cause of the original:

  - findBinary() reported every execSync('which objectfs') failure as "not found
    in PATH", which sends the reader to the wrong place when the cause was a
    permissions failure or an unwritable cwd.
  - prepareMountPoint() reported every `access` rejection as "insufficient
    permissions", including ENOENT for a mount point that does not exist.

Both now include the cause. Test files are linted now, which they were not
before, and that found a third thing: index.test.ts disabled
`@typescript-eslint/no-var-requires`, a rule typescript-eslint 8 renamed to
`no-require-imports`, so the directive had been suppressing nothing.

Verified: `npm run lint` 0 errors / 19 warnings (all no-explicit-any, `warn` by
design), `npm run build` emits dist/, `npm test` 65/65. The config itself was
mutation-checked — an unused binding and a formatting violation were introduced
and both reported as errors, so the rules are enforced rather than merely present.

* deps(js): take TypeScript 6, and the TS5107 that hides 64 errors behind 1

Closes #328. typescript ^5->^6, typedoc ^0.24->^0.28.20, jest and @types/jest
^29->^30, plus two tsconfig keys. ts-jest stays at ^29.1.0 — its 29.4.12
already peers <7, so it admits 6.

The first key is the trap. TS6 deprecates moduleResolution: "node" and raises
TS5107, but TS5107 is a CONFIG-level error, so tsc exits before typechecking
any source. It reports 1 error, which reads like a nearly-clean bump; 64 wait
behind it, all @types/node no longer being auto-included.

Both keys mutation-checked rather than assumed: removing ignoreDeprecations
gives exactly the 1 TS5107; removing types:[node] gives 64 across six codes
(29 TS2584, 18 TS2591, 10 TS2304, 4 TS7006, 2 TS2339, 1 TS2503). #328 predicted
63 from a scratch copy — the real number here is 64.

moduleResolution deliberately does not move: it cannot move alone (TS5110), and
moving it with module makes ts-jest warn TS151002 on every suite.

Verified from a clean npm ci, since sdk-metrics installs that way: tsc 0
errors, 65 tests in 4 suites, lint 0 errors / 19 warnings, and npm run docs —
the one step of the four CI does not gate.

Running that ungated step found a second thing. markdownFiles() walked the
filesystem while its doc comment said 'tracked', so TypeDoc's output was
scanned as repository documentation; it copies CONTRIBUTING.md into docs/media/
where the copy's relative links resolve against the wrong base. Now git
ls-files, which inherits .gitignore and cannot drift from it. Same 38 real
documents; the two dropped are generated, TypeDoc's copy and a .pytest_cache
README the old walk had also been reading.

* fix(test): CommandContext and SplitSeq in markdownFiles

Two golangci-lint findings on the git ls-files switch, both real:

  noctx     — os/exec.Command must not be called, use CommandContext. t.Context()
              ties the subprocess to the test's lifetime, so a hung git cannot
              outlive the test that spawned it.
  modernize — ranging over strings.SplitSeq avoids materializing the whole slice.

Neither suppressed. Verified with the command CI runs,
golangci-lint run --new-from-merge-base=origin/main: 0 issues.

Also documents why -z is there: a path may contain a newline, and git ls-files
without -z quotes those instead of emitting them, which would need unquoting to
match the filesystem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) javascript npm dependency (docs-platform, sdks/javascript)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant