Repository navigation
[ci] Pin typescript in eslint pre-commit hook to fix plugin load crash - #64618
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the .pre-commit-config.yaml file by removing duplicate eslint parser and plugin dependencies, and pinning the typescript package to version 4.8.4 to prevent version mismatch issues with @typescript-eslint in CI. There are no review comments, and I have no feedback to provide.
The eslint pre-commit hook pinned @typescript-eslint parser/eslint-plugin to 5.41.0 but left `typescript` unpinned. eslint-config-react-app declares `typescript: "*"`, so npm floated it to a TS major (6.x) incompatible with @typescript-eslint 5.41, breaking plugin load in CI: Failed to load plugin '@typescript-eslint' ... Cannot read properties of undefined (reading 'Undefined') Pin typescript to 4.8.4 (matching the dashboard client's own devDependency) so resolution is deterministic, and drop the duplicated parser/eslint-plugin entries. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: elliot-barn <[email protected]>
elliot-barn
force-pushed
the
fix-eslint-typescript-pin
branch
from
July 8, 2026 23:18
dd83d14 to
48939a3
Compare
abrarsheikh
approved these changes
Jul 8, 2026
avigyabb
pushed a commit
to avigyabb/ray
that referenced
this pull request
Jul 13, 2026
ray-project#64618) The eslint pre-commit hook pinned @typescript-eslint parser/eslint-plugin to 5.41.0 but left `typescript` unpinned. eslint-config-react-app declares `typescript: "*"`, so npm floated it to a TS major (6.x) incompatible with @typescript-eslint 5.41, breaking plugin load in CI: Failed to load plugin '@typescript-eslint' ... Cannot read properties of undefined (reading 'Undefined') Pin typescript to 4.8.4 (matching the dashboard client's own devDependency) so resolution is deterministic, and drop the duplicated parser/eslint-plugin entries. > Thank you for contributing to Ray! 🚀 > Please review the [Ray Contribution Guide](https://docs.ray.io/en/master/ray-contribute/getting-involved.html) before opening a pull request. >⚠️ Remove these instructions before submitting your PR. > 💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete. ## Description > Briefly describe what this PR accomplishes and why it's needed. ## Related issues > Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to ray-project#1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Avi Basnet <[email protected]>
elliot-barn
added a commit
that referenced
this pull request
Jul 15, 2026
#64618) The eslint pre-commit hook pinned @typescript-eslint parser/eslint-plugin to 5.41.0 but left `typescript` unpinned. eslint-config-react-app declares `typescript: "*"`, so npm floated it to a TS major (6.x) incompatible with @typescript-eslint 5.41, breaking plugin load in CI: Failed to load plugin '@typescript-eslint' ... Cannot read properties of undefined (reading 'Undefined') Pin typescript to 4.8.4 (matching the dashboard client's own devDependency) so resolution is deterministic, and drop the duplicated parser/eslint-plugin entries. > Thank you for contributing to Ray! 🚀 > Please review the [Ray Contribution Guide](https://docs.ray.io/en/master/ray-contribute/getting-involved.html) before opening a pull request. >⚠️ Remove these instructions before submitting your PR. > 💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete. ## Description > Briefly describe what this PR accomplishes and why it's needed. ## Related issues > Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]> (cherry picked from commit c2e8875)
400Ping
pushed a commit
to 400Ping/ray
that referenced
this pull request
Aug 18, 2026
ray-project#64618) The eslint pre-commit hook pinned @typescript-eslint parser/eslint-plugin to 5.41.0 but left `typescript` unpinned. eslint-config-react-app declares `typescript: "*"`, so npm floated it to a TS major (6.x) incompatible with @typescript-eslint 5.41, breaking plugin load in CI: Failed to load plugin '@typescript-eslint' ... Cannot read properties of undefined (reading 'Undefined') Pin typescript to 4.8.4 (matching the dashboard client's own devDependency) so resolution is deterministic, and drop the duplicated parser/eslint-plugin entries. > Thank you for contributing to Ray! 🚀 > Please review the [Ray Contribution Guide](https://docs.ray.io/en/master/ray-contribute/getting-involved.html) before opening a pull request. >⚠️ Remove these instructions before submitting your PR. > 💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete. ## Description > Briefly describe what this PR accomplishes and why it's needed. ## Related issues > Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to ray-project#1234". ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: 400Ping <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The eslint pre-commit hook pinned @typescript-eslint parser/eslint-plugin to 5.41.0 but left
typescriptunpinned. eslint-config-react-app declarestypescript: "*", so npm floated it to a TS major (6.x) incompatible with @typescript-eslint 5.41, breaking plugin load in CI:Failed to load plugin '@typescript-eslint' ...
Cannot read properties of undefined (reading 'Undefined')
Pin typescript to 4.8.4 (matching the dashboard client's own devDependency) so resolution is deterministic, and drop the duplicated parser/eslint-plugin entries.
Description
Related issues
Additional information