Skip to content

Conversation

christian-bromann
Copy link
Member

The last patch fixes a lot of Eslint problems we had in our project. The most common ones are the following:

  • removed unused error object in try/catch block
  • removed unused eslint ignore comments
  • enforce templating instead of string concatenation

Copy link

vercel bot commented Aug 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
langchainjs-docs Ready Ready Preview Comment Sep 9, 2025 11:15pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langchainjs-api-refs Ignored Ignored Sep 9, 2025 11:15pm

Comment on lines 38 to 43
# Install @langchain/google-gauth dependency explicitly
# This is needed because the update script converts the workspace dependency
# to use the minimum version, but in the test environment we need to install
# it as a regular dependency since workspace packages aren't available
pnpm add @langchain/google-gauth
pnpm test
Copy link
Member

Choose a reason for hiding this comment

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

I think this will lead to a bunch of false positives? We purposefully want to use the lowest version of the package for -gauth published on the registry

Copy link
Member Author

Choose a reason for hiding this comment

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

yep, will revert this as I improved environment tests in a different PR.

Copy link

changeset-bot bot commented Sep 9, 2025

⚠️ No Changeset found

Latest commit: 22835e3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@christian-bromann christian-bromann merged commit a0d1a43 into cb/v1-eslint-update-adoption Sep 9, 2025
109 of 111 checks passed
@christian-bromann christian-bromann deleted the cb/v1-eslint-update-fix branch September 9, 2025 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants