morphdom
morphdom copied to clipboard
Could we introduce a jsconfig.json
Hey would it be ok if we introduced a jsonconfig.json? This would allow tsserver the LSP to better enforce typesafety in the code base. It basically allows your editor to spot errors more easily.
Here is a proposed example that of something I'd like to see in regards to the rules if we were to introduce this.
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"src/*": ["./src/*","./test/*"],
},
"moduleResolution": "node",
"checkJs": true,
"target": "ESNext", // I think this might need to change.
"module": "ESNext", // I think this might need to change.
"strictNullChecks": true,
"resolveJsonModule": true
},
"exclude": ["node_modules", "dist"]
}