Fivestars TSLint
TSLint config for the Fivestars TypeScript Style GuideBasis
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
Intslint.json
:{
"extends": "tslint-config-fivestars"
}