1.0.1 • Published 7 years ago
tslint-config-guild v1.0.1
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:
function name (arg) { ... } // ✗ avoid function name(arg) { ... } // ✓ ok
Install
yarn add --dev tslint-config-guildUsage
To use the Guild TypeScript Style config, first add tslint to your project:
yarn add --dev tslintThen, add this to your tslint.json file:
{
"extends": "tslint-config-guild"
}