DEV Community

Discussion on: Setting up a GatsbyJS starter with TypeScript, ESLint, Prettier and pre-commit hooks

Collapse
 
ardennl profile image
Arden de Raaij • Edited

Hi Antoine, thanks for the reply and kind words!

As far as I experienced, I did need a tsconfig.json in the root of my project, even if it only contained {}. But this was only to run the tsc command from an NPM script or the command line. If you are not using any type checking through the command line or NPM scripts, you can still benefit from type checking in your editor if it supports it. I guess in that case, you wouldn't explicitly need a tsconfig.json.