Skip to content

VideoAmp/tslint-config-videoamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tslint-config-videoamp

npm version

This package uses TSLint to enforce VideoAmp's code style and provides a shared base configuration for our Typescript projects. We use this package in conjunction with Prettier for linting our projects.

We have two configurations in this package, listed below:

  • tslint-config-videoamp
    • Provides base rules for VideoAmp Typescript projects.
  • tslint-config-videoamp/react
    • Provides base and React rules for VideoAmp Typescript/React projects.

Install

yarn

yarn add --dev tslint-config-videoamp tslint

npm

npm install --save-dev tslint-config-videoamp tslint

Usage

  1. Add "extends": "tslint-config-videoamp" to your tslint.json.
  2. Add a .prettierrc with the following configuration:
{
    "printWidth": 120,
    "tabWidth": 4,
    "parser": "typescript",
    "trailingComma": "es5"
}

Resources

About

VideoAmp's TSLint/Prettier config for Typescript projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •