Nomenclature Processing Machine

    tslint-config-replicated

    1.0.0 • Public • Published

    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

    Keywords

    none

    Install

    npm i tslint-config-replicated

    DownloadsWeekly Downloads

    64

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    49.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • erquhart
    • emosbaugh
    • replicatedhq-user