fix(eslint): use recommendedTypeChecked - #1202
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/sv/c/0400071ee2fe4cddd67436d5e099127ca24b42b0Open 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 |
Closes #938
Description
"types": ["node"]intsconfig.jsonwhen needed #1092vite-tstestChecklist