# google/gts

☂️ TypeScript style guide, formatter, and linter.

Repository: https://github.com/google/gts
Canonical: https://ross.abutalabs.com/products/gts
Homepage: https://github.com/google/gts
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: typescript, linter, formatter, google
Last push: 2026-01-21T23:36:42+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 63, release rhythm 60, longevity 100
- inputs: {"age_days": 3320, "days_push": 224, "days_rel": 271, "gap_med": 12, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5290, forks 211 (observed 2026-08-28T04:09:15.130122+00:00)

## What it is
gts is Google's TypeScript style guide packaged as a zero-configuration CLI tool that bundles ESLint linting, Prettier formatting, and an opinionated tsconfig.json. Running `gts init` sets up lint, fix, clean, and compile scripts in a project with automatic code fixing.

## Use cases
- enforce a consistent TypeScript code style across a team without writing lint rules
- auto-format and auto-fix TypeScript files with one command
- set up linting and formatting in a new TypeScript project quickly
- stop style debates in code review by adopting an opinionated standard
- use Google's TypeScript style as a shareable ESLint config
- add clean and compile scripts wired to the TypeScript compiler

## When to choose
- you want zero-config, opinionated TypeScript style enforcement backed by Google
- you want linting and formatting from a single dependency and CLI
- you're starting a new TypeScript project and want sensible defaults immediately
- you want an ESLint config you can extend with custom rules later

## When to avoid
- your team already has its own ESLint/Prettier configuration and style guide
- you need fine-grained control over every lint rule from day one
- you're linting plain JavaScript without TypeScript
- you need a style guide with configurable options rather than an opinionated default

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, formatter, cli, developer-tools
- domain: developer-tools, programming-languages, web-development
- platform: cli, cross-platform
- tags: typescript, eslint, prettier, code-style, google-style-guide, zero-config, nodejs

## Member repositories
- google/gts (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:15.130122+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:59:12.892757+00:00, confidence not recorded.
  - readme: https://github.com/google/gts (fetched 2026-08-28T04:09:15.130122+00:00, sha 2b265142843e)
  - homepage: https://github.com/google/gts (fetched 2026-08-29T08:54:17.392299+00:00, sha 7939cd048a59)
  - registry_npm: https://registry.npmjs.org/gts (fetched 2026-08-29T08:54:17.402232+00:00, sha 8c4773e568ee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
