tslint-config-fivestars

Fivestars TSLint config

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
tslint-config-fivestars
0.5.14 years ago5 years agoMinified + gzip package size for tslint-config-fivestars in KB

Readme

Fivestars TSLint
TSLint config for the Fivestars TypeScript Style Guide

Basis

This document is based off the Airbnb JavaScript Style Guide and the Airbnb React/JSX Style Guide. The exceptions are listed below.

Exceptions

1. align: [false] 2. brace-style: 'stroustrop' 3. eofline: true 4. function-name: null 5. jsx-no-multiline-js: false 6. max-line-length: [true, 120] 7. member-access: false 8. object-shorthand-properties-first': false 9. quotemark: [true, 'single', 'jsx-double'] 10. semicolon: [true, 'always', 'ignore-bound-class-methods'] 11. ter-indent: [ true, 4, { 'SwitchCase': 1 }] 12. trailing-comma: [true, {'multiline': 'never', 'singleline': 'never'}] 13. variable-name: [true, 'ban-keywords', 'allow-leading-underscore']

Installation

npm install tslint-config-fivestars --save-dev

Usage

In tslint.json:
{
  "extends": "tslint-config-fivestars"
}

License

Apache 2.0