Repository navigation
chore(deps-dev): bump the eslint group across 1 directory with 7 updates - #8
Conversation
|
👋 Thanks for opening this PR! Your PR is marked for review. Can you confirm with a 👍 reaction on this comment or a reply that this PR is ready to review?
|
|
👋 Thanks for opening this PR! Before review, please add a short note in the Please put that note between |
67428f7 to
885e556
Compare
5634eec to
bd82b2a
Compare
5f89182 to
7649074
Compare
b4b0c6d to
3804540
Compare
436c3f1 to
272355c
Compare
|
🤖 OpenHands is fixing the failing CI on this dependabot version bump. Head commit: This comment was posted by an AI agent (OpenHands). |
272355c to
4bd26c8
Compare
Bumps the eslint group with 7 updates in the /frontend directory: | Package | From | To | | --- | --- | --- | | [@tanstack/eslint-plugin-query](https://github.com/TanStack/query/tree/HEAD/packages/eslint-plugin-query) | `5.100.10` | `5.102.8` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `7.18.0` | `8.68.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.18.0` | `8.68.0` | | [eslint](https://github.com/eslint/eslint) | `8.57.1` | `10.9.1` | | [eslint-plugin-i18next](https://github.com/edvardchen/eslint-plugin-i18next) | `6.1.4` | `6.1.5` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.5.5` | `5.5.6` | | [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) | `4.6.2` | `7.1.1` | Updates `@tanstack/eslint-plugin-query` from 5.100.10 to 5.102.8 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/eslint-plugin-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/eslint-plugin-query@5.102.8/packages/eslint-plugin-query) Updates `@typescript-eslint/eslint-plugin` from 7.18.0 to 8.68.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.68.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 7.18.0 to 8.68.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.68.0/packages/parser) Updates `eslint` from 8.57.1 to 10.9.1 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.1...v10.9.1) Updates `eslint-plugin-i18next` from 6.1.4 to 6.1.5 - [Changelog](https://github.com/edvardchen/eslint-plugin-i18next/blob/main/CHANGELOG.md) - [Commits](edvardchen/eslint-plugin-i18next@v6.1.4...v6.1.5) Updates `eslint-plugin-prettier` from 5.5.5 to 5.5.6 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.5.5...v5.5.6) Updates `eslint-plugin-react-hooks` from 4.6.2 to 7.1.1 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/react/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/eslint-plugin-react-hooks@7.1.1/packages/eslint-plugin-react-hooks) --- updated-dependencies: - dependency-name: "@tanstack/eslint-plugin-query" dependency-version: 5.101.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.64.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: eslint - dependency-name: "@typescript-eslint/parser" dependency-version: 8.64.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: eslint - dependency-name: eslint dependency-version: 10.7.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: eslint - dependency-name: eslint-plugin-i18next dependency-version: 6.1.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: eslint - dependency-name: eslint-plugin-prettier dependency-version: 5.5.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: eslint - dependency-name: eslint-plugin-react-hooks dependency-version: 7.1.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: eslint ... Signed-off-by: dependabot[bot] <support@github.com>
4bd26c8 to
7aa1354
Compare
|
🤖 OpenHands is fixing the failing CI on this dependabot version bump. Head commit: This comment was posted by an AI agent (OpenHands). |
The dependabot eslint group bump raised eslint 8->10 and @typescript-eslint 7->8, which broke `npm ci` (ERESOLVE) and the lint config. eslint 10 is runtime-incompatible with the latest versions of eslint-plugin-react, -jsx-a11y, and -import (the only published versions crash on `context.getFilename is not a function`), and the abandoned eslint-config-airbnb/-typescript only support eslint 8 / typescript-eslint 7. There are no newer plugin releases supporting eslint 10. Cap eslint at 9.39.5 (the highest version all required plugins support at runtime + peer-dep level) and migrate the config: - Replace legacy `.eslintrc` with flat `eslint.config.js` (required by eslint 9+), faithfully porting the same extends/plugins/rules. - Remove eslint-config-airbnb and eslint-config-airbnb-typescript (incompatible, no eslint 9/10 support). - Drop `--ext` from lint scripts (removed in flat config). - Replicate airbnb-typescript behavior: `import/no-unresolved: off`, `no-unused-vars`/`@typescript-eslint/no-unused-vars` off in favor of `unused-imports/no-unused-vars`, `reportUnusedDisableDirectives: off` (matches eslint 8 default), and only `react-hooks/rules-of-hooks` enabled (exhaustive-deps stays off as before; react-hooks 7 compiler rules are not opted in). Fix the new lint findings surfaced by the bumped versions: - 12 `prefer-optional-chain` violations (typescript-eslint 8 stricter detection): use `?.`. - 2 `no-empty-object-type` (typescript-eslint 8 replaces no-empty-interface): convert empty extending interfaces to type aliases. - 2 `i18next/no-literal-string` (eslint-plugin-i18next 6.1.5 fixed ellipsis detection): use existing `t("HOME$LOADING")` translation. - Update the `eslint-disable-line` rule name in error-handler.ts to the now-active `unused-imports/no-unused-vars`. Lockfile regenerated (npm 10 hits an arborist `edgesOut` bug on this peer tree during `npm install`; npm 11 generates a lockfile that installs cleanly with plain `npm ci` in CI and the Docker build). Verified: `npm ci`, `npm run lint` (typecheck + eslint + prettier + translation completeness), `npm run build`, and unit tests all pass. Co-authored-by: openhands <openhands@all-hands.dev>
|
@neubig — this dependabot PR's CI is green, but the auto-merge policy skipped it because the diff touches 19 files (beyond the 10-file minimal-fix threshold). Please review and decide whether to merge. This comment was posted by an AI agent (OpenHands). |
Resolve conflicts against main: keep main's refactors (deleted git-repo-dropdown/ use-branch-data files, settings-input/settings/manage-organization-members) and apply the eslint 8 -> 9 migration, @typescript-eslint 8, react-hooks 7 and the flat-config lint scripts; regenerate frontend/package-lock.json.
neubig
left a comment
There was a problem hiding this comment.
Approved: migrates the frontend to ESLint 9 flat config (eslint.config.js) and bumps @typescript-eslint 8, eslint-plugin-react-hooks 7, eslint-plugin-prettier. I resolved conflicts against main (kept main's refactors) and regenerated the lockfile.
This review was generated by an AI agent (OpenHands) on behalf of @neubig.
# Conflicts: # frontend/package-lock.json # frontend/package.json
|
🤖 OpenHands is fixing the failing CI on this dependabot version bump. Head commit: This comment was posted by an AI agent (OpenHands). |
The sandbox provider environment key is now uppercase, but existing secret lookups still need to recognize lowercase names for backwards compatibility. Co-authored-by: openhands <openhands@all-hands.dev>
Merge current main so its new secret lookup tests and frontend attribution source are included. Use optional chaining for the redirect origin guard as required by the updated TypeScript ESLint rule. Co-authored-by: openhands <openhands@all-hands.dev>
|
🚀 Released in 1.88.0. |
Bumps the eslint group with 7 updates in the /frontend directory:
5.100.105.102.87.18.08.68.07.18.08.68.08.57.110.9.16.1.46.1.55.5.55.5.64.6.27.1.1Updates
@tanstack/eslint-plugin-queryfrom 5.100.10 to 5.102.8Release notes
Sourced from @tanstack/eslint-plugin-query's releases.
Changelog
Sourced from @tanstack/eslint-plugin-query's changelog.
... (truncated)
Commits
Updates
@typescript-eslint/eslint-pluginfrom 7.18.0 to 8.68.0Release notes
Sourced from @typescript-eslint/eslint-plugin's releases.
... (truncated)
Changelog
Sourced from @typescript-eslint/eslint-plugin's changelog.
... (truncated)
Commits
8f4e00achore(release): publish 8.68.0db30514feat(eslint-plugin): [strict-void-return] add fix suggestions (#12086)9690339test(eslint-plugin): [prefer-optional-chain] usecreateRuleTesterWithTypes...abe9011fix(eslint-plugin): [no-empty-object-type] ignore suggestions that result in ...79c16e7chore(eslint-plugin): extract FunctionSignature and enum comparison utils (#1...2442e30test(eslint-plugin): [no-floating-promises] format test snippets (#12723)3596323fix(eslint-plugin): [no-floating-promises] settingignoreVoid: falseresult...956a339fix(eslint-plugin): [no-unnecessary-type-assertion] prevent stack overflow in...55f6d5dchore: enable source maps (#12677)3aefb6atest: improve vitest performance withisolate: false(#12703)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 7.18.0 to 8.68.0Release notes
Sourced from @typescript-eslint/parser's releases.
... (truncated)
Changelog
Sourced from @typescript-eslint/parser's changelog.
... (truncated)
Commits
8f4e00achore(release): publish 8.68.055f6d5dchore: enable source maps (#12677)20a261fchore(release): publish 8.67.03b155bbchore: use typescript 7 for typechecking (#12601)e51b11bchore(release): publish 8.66.063ba81bchore(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)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.9.1Release notes
Sourced from eslint's releases.
... (truncated)
Commits
5c8c24110.9.1a7f3b7dBuild: changelog update for 10.9.11e641c9fix: no-loss-of-precision false positive with trailing decimal point (#21251)ad74a8ddocs: add deprecation steps for EOL package versions (#21248)3c3ae53chore: update ecosystem plugins (#21249)c27bc9210.9.0fa831d9Build: changelog update for 10.9.0899dbf1chore: update github/codeql-action action to v4.37.7 (#21243)08de88efeat: handle underflow in no-loss-of-precision (#21218)9ef407adocs: use eslint.config.* wherever config file names are listed (#21216)Maintainer changes
This version was pushed to npm by eslintbot, a new releaser for eslint since your current version.
Updates
eslint-plugin-i18nextfrom 6.1.4 to 6.1.5Changelog
Sourced from eslint-plugin-i18next's changelog.
Commits
afe9e87chore(release): 6.1.57a6794fMerge pull request #160 from mrginglymus/rm-lodash27a7996chore(deps): swap lodash for native object spread5ff15a8Merge pull request #159 from edvardchen/fix-ellipsis-detection-138a3d5198fix: detect strings ending with ellipsisUpdates
eslint-plugin-prettierfrom 5.5.5 to 5.5.6Release notes
Sourced from eslint-plugin-prettier's releases.
Changelog
Sourced from eslint-plugin-prettier's changelog.
Commits
4f33ea5chore: release eslint-plugin-prettier (#792)4745b54ci: declare workflow-level contents: read on 2 workflows (#790)b5c96a3chore: bump all (dev)Dependencies (#791)e867680chore(deps): update all dependencies (#766)e8e2f7fchore: testing eslint v10 (#779)ca076d9chore: update dev dependencies (#780)42e6369build(deps): Bump the actions group with 2 updates (#778)53ff214Remove empty NPM_TOKEN from release.ymlUpdates
eslint-plugin-react-hooksfrom 4.6.2 to 7.1.1Release notes
Sourced from eslint-plugin-react-hooks's releases.
Changelog
Sourced from eslint-plugin-react-hooks's changelog.
... (truncated)
Commits
Enterprise server image for this PR: