Repository navigation
fix(eslint): use recommendedTypeChecked - #1202
sacrosanctic wants to merge 25 commits into
Conversation
|
Install the latest version of pnx https://pkg.svelte.dev/sv/c/d15b4f0f23f6acb844fc7c29f6ef969a8fe1f0db createOpen in Note This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed. |
|
I don't understand how this project is structured. It has 2 |
|
While looking into the lint failure for #1202 (comment), I started to go through the new lint rules (this list only contains what's added by I'm left wondering if the preset rules for For example, I can already foresee something like this: const foo = form(() => {
// ...stuff happens
query1().refresh() // lint error!
query2().refresh() // lint error!
})could erroneously lead people down the very wrong path of const foo = form(() => {
// ...stuff happens
// oops! these no longer run concurrently!
await query1().refresh()
await query2().refresh()
})however, while adding
I also vaguely remember |
|
Good stuff, definitely things to consider, hopefully this PR can create the discussion needed to merge this or to close the original issue. Will have to do more exploration with the new APIs.
It is part of the lint error, maybe we can overwrite it with our own custom error msg?
Don't think this is an issue, we don't throw |
Sadly i don't remember any of this. But I see your points. Do I see that correctly, that this PR tries to change the setup for new projects ( |
|
Changed target branch and resolved produced merge conflicts |
|
What is the status of this? Is this something we should look into now? |
* no side effects * better docs * walk.up * nit * porting over some of the changes from #1202 * snapshot * Update packages/sv-utils/src/tooling/parsers.ts * Revert "Update packages/sv-utils/src/tooling/parsers.ts" This reverts commit 2e26629. * Update packages/sv-utils/src/tooling/parsers.ts --------- Co-authored-by: Manuel <30698007+manuel3108@users.noreply.github.com> Co-authored-by: Manuel Serret <mserret99@gmail.com>
|
I don't know if you guys want to go through with it. The PR represents the required changes. Plus one more issue with The PR is also stale, will try to bring it up to date. |
|
omg, all the tests passed, how did that happen |
|
@manuel3108 This pr is ready to go. But @AdrianGonz97 mentions some issues for the upcoming async svelte with regards to conflicting eslint rules. We may need to fix them by providing our own modified versions, similar to svelte/prefer-const. @benmccann pinging previously mentioned parties |
Closes #938
Description
Checklist