Repository navigation
deps(deps-dev): bump the typescript-eslint group across 1 directory with 3 updates - #309
dependabot[bot] wants to merge 1 commit into
Conversation
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
6 similar comments
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
…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]>
b2b8599 to
80ec4e0
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint Please review the changelog and breaking changes before merging. |
|
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 But it needs a config rewrite to be useful, and that work isn't in this PR. eslint 9 removed The mitigating fact: there is nothing to regress. 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 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. |
Measured against merged main: this one does not install-and-pass, and now that matters#327 is merged, so The install is fine. The lint then cannot start: ESLint 10 ignores the Writing the flat config is necessary but not sufficient. I translated the existing block (parser, three extends, prettier plugin, five rules) into an
With all five plus a flat config, lint runs: 32 problems — 13 errors, 19 warnings. The prettier 2 → 3 reflow accounts for the 5 autofixable ones and touches formatting across RecommendationDo not merge as-is — it would fail the
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 |
|
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 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:
Verified: |
|
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 |
#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.
…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.
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-pluginfrom 5.62.0 to 8.65.0Release notes
Sourced from @typescript-eslint/eslint-plugin's releases.
... (truncated)
Changelog
Sourced from @typescript-eslint/eslint-plugin's changelog.
... (truncated)
Commits
63ba81bchore(release): publish 8.65.0aa602bdfix(eslint-plugin): [no-unnecessary-parameter-property-assignment] don't flag...1e90d67feat(eslint-plugin): [no-shadow] specialized error on enum declaration and me...b32fb34docs: fix broken code samples in no-extraneous-class and prefer-function-type...eaf4576feat: add warning when TS 7 is detected (#12529)18c01c7feat(eslint-plugin): [no-restricted-imports] deprecate extension rule (#12527)96e8fe2fix(eslint-plugin): [unbound-method] report unbound methods accessed via memb...0d06406chore: add attw validation to repo (#12437)9d9973bfix(eslint-plugin): [prefer-string-starts-ends-with] handle escaped $ ending ...c2386e4chore(deps): update dependency prettier to v3.9.5 (#12486)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@typescript-eslint/eslint-pluginsince your current version.Updates
@typescript-eslint/parserfrom 5.62.0 to 8.65.0Release notes
Sourced from @typescript-eslint/parser's releases.
... (truncated)
Changelog
Sourced from @typescript-eslint/parser's changelog.
... (truncated)
Commits
63ba81bchore(release): publish 8.65.0eaf4576feat: add warning when TS 7 is detected (#12529)d8f1044feat(parser): add onUnsupportedTypeScriptVersion option to error on unsupport...0d06406chore: add attw validation to repo (#12437)c2386e4chore(deps): update dependency prettier to v3.9.5 (#12486)414d9abchore(release): publish 8.64.0290cf6cchore(release): publish 8.63.03ea32f4chore(release): publish 8.62.154e2857chore(release): publish 8.62.081e4c26feat: remove redundant package.json "files" (#12444)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@typescript-eslint/parsersince your current version.Updates
eslintfrom 8.57.1 to 10.8.0Release notes
Sourced from eslint's releases.
... (truncated)
Commits
749dfed10.8.04bd0d75Build: changelog update for 10.8.04fbf46dtest: pinwebpackversion to 5.108.4 (#21137)6ddf858docs: fix broken Specify Parser Options anchor link (#21106)784dfbedocs: Clarifyno-eq-nulldescription (#21120)6b8d2f7fix: escape reserved characters in rule id inhtmlformatter (#21129)2d063e2chore: update HTTP URLs to HTTPS in JSDoc and comments (#21101)eccbe7btest: add error locations tono-class-assign(#21123)2fee9bbfeat: exportConfigObjectfromeslint/config(#21082)e7d1e43ci: bump actions/setup-go from 6 to 7 (#21118)