tslint-config-guild

Guild TSLint shared config

Usage no npm install needed!

<script type="module">
  import tslintConfigGuild from 'https://cdn.skypack.dev/tslint-config-guild';
</script>

README

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"
}