Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tslint-config-replicated

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-config-replicated

Replicated's TSLint/Prettier config for Typescript projects

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

tslint-config-replicated

npm version

This package uses TSLint to enforce Replicated'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-replicated
    • Provides base rules for Replicated Typescript projects.
  • tslint-config-replicated/react
    • Provides base and React rules for Replicated Typescript/React projects.

Install

yarn

yarn add --dev tslint-config-replicated tslint

npm

npm install --save-dev tslint-config-replicated tslint

Usage

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

Resources

FAQs

Package last updated on 07 Sep 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc