1.0.1 • Published 5 years ago

tslint-config-guild v1.0.1

Weekly downloads
150
License
MIT
Repository
github
Last release
5 years ago

npm

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-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:

{
  "extends": "tslint-config-guild"
}