You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wrong about verbatimModuleSyntax helping here and it's already enabled. I think we need this eslint rule: https://typescript-eslint.io/rules/consistent-type-imports/. Unfortunately there's well over 100 eslint errors already. We should ignore the dumb rules, add consistent-type-imports, and enforce it on the CI
benmccann
changed the title
Set verbatimModuleSyntax in tsconfig
Enforce check and lint on CI
Jun 18, 2024
Uh oh!
There was an error while loading. Please reload this page.
There are a couple of types that are imported without the
type
signifier and thus unused:threlte/packages/extras/src/lib/components/Gizmo/Gizmo.svelte
Line 14 in 6ebc7cf
and
https://github.com/threlte/threlte/blob/6ebc7cffdef5bf0e10201e26d15850cace13cd2f/packages/extras/src/lib/components/MeshRefractionMaterial/MeshRefractionMaterial.svelte#L3C19-L3C30
As a result,
vite
prints a massive warning onto the screen when you don't have thenoExternal
config: vitejs/vite#17517If we clean this up we can simplify the user setup instructions: #987
The text was updated successfully, but these errors were encountered: