Rails 8 should have jsconfig.json file included

I’m getting bunch of scribbling lines in my vscode opening up a stimulus file

this solved it for me, including a jsconfig.json

{
	"compilerOptions": {
	  "module": "esnext",
	  "baseUrl": "./",
	  "paths": {
		"@hotwired/*": ["app/javascript/*"]
	  }
	},
	"include": ["app/javascript/**/*"]
  }

Hmm not sure where the best place would be to keep this. Not everyone is using vscode and my editor doesn’t have this issue.

So probably not something that would be included with the Rails app OOTB