tslint-config-fivestars
v0.5.1
Published
Fivestars TSLint config
Downloads
32
Maintainers
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
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