the next one is about linting / typescript typeche...
# help
l
the next one is about linting / typescript typechecking. I have a tsconfig, linting rules, etc... and all that seems to be ignored when I
sst start
(like node_modules throwing typescript errors). Am i missing some configuration options ?
However, the typechecker seems to be off - I do have a
baseUrl
key in my tsconifg that should be enough for absolute imports and ignoring node modules (it does when I tsc myself) But sst start is breaking everywhere on ts typechecking
an option to disable typeschecking would probably be good too
and one to say where the tsconfig is, when not at root
@Frank any thoughts?
j
Hmm it’s weird that they aren’t being picked up. What’s the directory structure look like?
l
its a worspace based monorepo
i am trying to sst-ize the api
the log says it found a tsconfig
however, baseurl seems to be ignored as I get node_modules errors
plus, relative imports not found
j
Yeah it seems like these are not being picked up. We use Yarn Workspaces internally. But clearly we are not handling something here. I'd like to replicate your directory structure to see this. The tsconfig is at the project root or the root of the SST app within the project? Also @Frank, we might need a setting similar to
lint
to disable
typeCheck
?
f
Added the
typeCheck
flag in v0.10.3
You can now set
"typeCheck": false
inside the
sst.json
like this https://docs.serverless-stack.com/installation#project-config
l
@Jay sorry I just saw your message from the 18th. The ts config is at sst root, so in one package of the packages directory that is workspaced
And we don't have a tsconfig at mononrepo root