Socket
Book a DemoInstallSign in
Socket

tslint-config-videoamp

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-config-videoamp

VideoAmp's TSLint/Prettier config for Typescript projects

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
4
Created
Source

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

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

Resources

FAQs

Package last updated on 11 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.