0.5.1 • Published 7 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: truefunction-name: nulljsx-no-multiline-js: falsemax-line-length: [true, 120]member-access: falseobject-shorthand-properties-first': falsequotemark: [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-devUsage
In tslint.json:
{
"extends": "tslint-config-fivestars"
}License
Apache 2.0