Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Fivestars TypeScript Style Guide

License

Notifications You must be signed in to change notification settings

fivestars/tslint-config-fivestars

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fivestars TypeScript Style Guide

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%