0.5.1 • Published 5 years ago
tslint-config-fivestars v0.5.1
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
align: [false]
brace-style: 'stroustrop'
eofline: true
function-name: null
jsx-no-multiline-js: false
max-line-length: [true, 120]
member-access: false
object-shorthand-properties-first': false
quotemark: [true, 'single', 'jsx-double']
semicolon: [true, 'always', 'ignore-bound-class-methods']
ter-indent: [ true, 4, { 'SwitchCase': 1 }]
trailing-comma: [true, {'multiline': 'never', 'singleline': 'never'}]
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