gts is a TypeScript style guide, formatter, and linter that enforces Google's opinionated coding standards with zero configuration required.
The tool solves the problem of style inconsistency and code review friction by providing a pre-configured, opinionated approach to TypeScript formatting and linting. It combines ESLint for style enforcement with Prettier for code reformatting, eliminating the need for teams to debate syntax conventions or maintain custom lint configurations. Running `gts init` sets up a project with an opinionated tsconfig.json, adds necessary development dependencies, and installs npm scripts for linting, fixing, compiling, and cleaning code.
Teams should adopt gts if they value consistency and want to eliminate style discussions from code reviews without the overhead of configuration management. It suits any TypeScript project where enforcing a single, well-reasoned style guide is preferable to allowing customization. The tool allows dropping down to raw ESLint configuration if a project needs to extend the shared config with custom rules or integrate with the broader ESLint ecosystem, such as editor plugins. The README does not compare gts to alternative style tools.
The project maintains active development with regular updates to keep pace with TypeScript and ESLint ecosystem changes. The tool is designed to support all active and maintenance versions of Node.js according to the Node.js release schedule. Integration support extends to pre-commit frameworks, allowing teams to enforce style checks as part of their version control workflows.