tslint-config-videoamp

1.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tslint-config-videoamp

Weekly Downloads

18

Version

1.0.4

License

Apache-2.0

Unpacked Size

26 kB

Total Files

6

Last publish

Collaborators

  • hectorsahagun
  • videoamp-webmaster
  • davidung
  • bvamp
  • jadengore