Guild Education TypeScript Style
At Guild, our TypeScript style is based on JavaScript Standard Style with a few exceptions:
- Function declarations should not have a space before the parentheses:{ ... } // ✗ avoid{ ... } // ✓ ok
Install
yarn add --dev tslint-config-guild
Usage
To use the Guild TypeScript Style config, first add tslint
to your project:
yarn add --dev tslint
Then, add this to your tslint.json
file: