glzr-io / style-guide

Shared configs for linting and styling tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style Guide · PRs Welcome License Discord invite

Prettier

To use one of the Prettier config, add the following to package.json:

{
  "prettier": "@glzr/style-guide/prettier"
}

TSConfig

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.

About

Shared configs for linting and styling tools.

License:MIT License


Languages

Language:JavaScript 100.0%