Skip to content

fix: resolve lint errors and safe warnings#2345

Merged
yujonglee merged 1 commit intomainfrom
devin/1765936782-lint-fixes
Dec 17, 2025
Merged

fix: resolve lint errors and safe warnings#2345
yujonglee merged 1 commit intomainfrom
devin/1765936782-lint-fixes

Conversation

@devin-ai-integration
Copy link
Contributor

Summary

Fixes 3 lint errors and several safe warnings reported by pnpm lint:

Errors fixed:

  • Remove deprecated baseUrl option from tsconfig.json files in packages/ui, apps/pro, and apps/web. The oxlint tsgolint parser doesn't support this option, and it's redundant since all path aliases use relative notation (./).

Warnings fixed:

  • Fix no-misused-spread in apps/bot/src/devin/shared.ts by using the Headers API instead of spreading init?.headers (which could be a Headers object or array)
  • Remove unused eslint-disable directive in __root.tsx
  • Fix unused catch parameters by using empty catch blocks
  • Prefix unused destructured variable with underscore (order_order)

Review & Testing Checklist for Human

  • Verify path aliases still resolve correctly in packages/ui, apps/pro, and apps/web (run pnpm build or check IDE imports)
  • Confirm the Headers API change in shared.ts doesn't break Devin API calls (the behavior should be identical - Authorization header is set/overwritten)

Notes

Remaining warnings (72) were intentionally not fixed as they involve:

  • React exhaustive-deps warnings that could change effect/callback timing
  • Unbound method warnings in test files and generated code
  • Type issues in generated API client code

Link to Devin run: https://app.devin.ai/sessions/36325da9de4940859d700b9ab47918e3
Requested by: yujonglee (@yujonglee)

- Remove deprecated baseUrl from tsconfig.json files (packages/ui, apps/pro, apps/web)
- Remove unused eslint-disable directive in __root.tsx
- Fix no-misused-spread in apps/bot/src/devin/shared.ts by using Headers API
- Fix unused catch parameters by using empty catch blocks
- Fix unused destructured variable by prefixing with underscore

Co-Authored-By: yujonglee <yujonglee.dev@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 17, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@netlify
Copy link

netlify bot commented Dec 17, 2025

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit d0572b7
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69420f2dd1a4b90008ffd863
😎 Deploy Preview https://deploy-preview-2345--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Dec 17, 2025

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit d0572b7
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69420f2d9be06a00085ebf23
😎 Deploy Preview https://deploy-preview-2345--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@yujonglee yujonglee merged commit 4c47c2a into main Dec 17, 2025
18 of 19 checks passed
@yujonglee yujonglee deleted the devin/1765936782-lint-fixes branch December 17, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant