-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add @typescript-eslint/no-floating-promises
#1671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not at a computer but have a look to see if any of the ❌ CI steps are obvious
The fix is non-releated to the PR, but I can help |
This pull request is being automatically deployed with Vercel (learn more). next-prisma-starter – ./examples/next-prisma-starter🔍 Inspect: https://vercel.com/trpc/next-prisma-starter/136eCDwwu9Y47E8rqj8Mp1rFsKLH www – ./www🔍 Inspect: https://vercel.com/trpc/www/GUkCa6ezDUt4CzTjiWxrXqDYPsHy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
.tool-versions
Outdated
@@ -0,0 +1 @@ | |||
nodejs 14.19.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do nvm
automatically pick this up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're using asdf, you can have it read from .nvmrc anyway. nvm does not read from .tool-versions
at all though. Unfortunately, the ideal solution would be to have both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use .nvmrc
if that works for both 🤷
@@ -7,6 +7,7 @@ | |||
"plugin:prettier/recommended" | |||
], | |||
"parserOptions": { | |||
"project": "tsconfig.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look related to this PR? We only need to change config at the root level of the project
"project": "tsconfig.json", |
@@ -147,7 +147,7 @@ export function subscriptionPullFactory<TOutput>(opts: { | |||
} | |||
|
|||
return new Subscription<TOutput>((emit) => { | |||
_pull(emit); | |||
_pull(emit).catch((err) => emit.error(getErrorFromUnknown(err))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 👌
@all-contributors add @john-schmitz for code |
I've put up a pull request to add @john-schmitz! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI changes looks very much like they have to do with this PR. I tried re-running and it's fine on main
Co-authored-by: Alex Johansson <alexander@n1s.se>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some last tweaks then 🚀
Sorry for the messed up configuration, did not realize that would break the examples. But alas! It's fixed |
@john-schmitz you have no GitHub sponsors setup, if you want to, set one up and I'll send you a thank you! |
I just requested for it! And thank you very much for your project, I contribuited first and foremost because I admire it. |
Thanks for this - was meaning to get around to it at some point! 🚀 |
This pull request has been locked because it had no new activity for 30 days. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
I am honestly not sure even if we should handle any errors comming from res.header() thats why I voided it
fixes #1577