To use one of the Prettier config, add the following to package.json
:
{
"prettier": "@glzr/style-guide/prettier"
}
To use one of the TSConfig files available, add the following to tsconfig.json
:
{
"extends": "@glzr/style-guide/tsconfig/solidjs-lib"
}
Available configs:
- Vanilla Node.js (
@glzr/style-guide/tsconfig/vanilla-nodejs
) - Vanilla bundler (
@glzr/style-guide/tsconfig/vanilla-bundler
) - Astro app (
@glzr/style-guide/tsconfig/astro-app
) - NestJS app (
@glzr/style-guide/tsconfig/nestjs-app
) - SolidJS app (
@glzr/style-guide/tsconfig/solidjs-app
) - SolidJS library (
@glzr/style-guide/tsconfig/solidjs-lib
)
TotalTypescript is a great reference for TSConfig guidelines.