{"repo":"google/gts","free":true,"listed":false,"github":"https://github.com/google/gts","clone":"git clone https://github.com/google/gts.git","description":"☂️ TypeScript style guide, formatter, and linter.","language":"TypeScript","stars":5287,"topics":["typescript","linter","formatter","google"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"gts Google TypeScript Style [![NPM Version][npm-image]][npm-url] [![GitHub Actions][github-image]][github-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![codecov][codecov-image]][codecov-url] [![TypeScript Style Guide][gts-image]][gts-url] [gts][npm-url] is Google's TypeScript style guide, and the configuration for our formatter, linter, and automatic code fixer. No lint rules to edit, no configuration to update, no more bike shedding over syntax. To borrow from [standardjs][standardjs-url]: - No configuration . The easiest way to enforce consistent style in your project. Just drop it in. - Automatically format code . Just run gts fix and say goodbye to messy or inconsistent code. - Catch style issues & programmer errors early . Save precious code review time by eliminating back-and-forth between reviewer & contributor. - Opinionated, but not to a fault . We recommend you use the default configuration, but if you need to customize compiler or linter config, you can. Under the covers, we use [eslint][eslint-url] to enforce the style guide and provide automated fixes, and [prettier][prettier-url] to re-format code. Getting Started The easiest way to get started is to run: How it works When you run the npx gts init command, it's going to do a few things for you: - Adds an opinionated tsconfig.json file to your project that uses the Google TypeScript Style. - Adds the necessary devDependencies to your package.json . - Adds scripts to your package.json : - lint : Lints an","default_branch":null,"files":null,"tree":[],"storefront":"/r/google","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/google/gts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}