-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: remaining linting fixes #272
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Playwright test resultsDetails Open report ↗︎ Skipped testsNo persona › tests/auth.test.ts › authenticate through Clerk UI |
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 is good work
The import changes make sense to me. I don't think they will be fully effective unless we encourage us to continue using the pattern. I think we should remove any export * from ...
code so our autosuggest doesn't get tempted to do the wrong thing
The aila changes are really good. I wonder if we will start to need some JSdoc comments on the options so that it's clear what the options are that you can provide when configuring it
Importing inngest at test runtime - not one I'm convinced by at the moment. First off, I don't understand the underlying reason why it would improve performance. Secondly, I don't know if it applies to other packages, other test files, or when we would be able to remove the fix. It would help to see that in a different PR so we can look at a before/ after and get a better understanding of what it's doing and if it's still needed
Thanks - I've reverted the inngest import change. A good point about adding jsdoc. Before we go for that, I think we need to look again at the feature factory approach - irrespective of which adapter we use, we are automatically importing all dependencies for all adapters, which feels like something to fix in a separate piece of work. That could change the pattern for how we do this. |
@@ -27,6 +27,31 @@ import { router } from "../trpc"; | |||
|
|||
const log = aiLogger("exports"); | |||
|
|||
function getValidLink( |
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.
Move this function to the body
Quality Gate passedIssues Measures |
🎉 This PR is included in version 1.14.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
This is the remaining linting work that has since been merged through other PRs.
Code conventions:
@typescript-eslint/consistent-type-imports
so that we import withimport type
where appropriate (and VS Code will automatically do this for us)Aila package:
The touched files count looks high but it's primarily altering import statements throughout