sveltejs / cli

The Svelte CLI
MIT License
258 stars 11 forks source link

Add jsconfig.json even for people not wanting any type checking #267

Closed dummdidumm closed 1 week ago

dummdidumm commented 2 weeks ago

Right now the jsconfig.json is omitted if people want no type checking at all. This has a few unwanted side effects

For this reason, the CLI should add a jsconfig regardless, just with the type checking option turned off (i.e. "checkJs": false)

manuel3108 commented 2 weeks ago

Isn't this a duplicate of https://github.com/sveltejs/cli/issues/198 ?

dummdidumm commented 2 weeks ago

Ah yeah, basically yes, though this one has the more obvious title. Closing the other in favor of this one.