tslint-config-ivweb

1.0.3 • Public • Published

tslint-config-ivweb

npm package NPM downloads

TSLint shareable config for the IVWEB TypeScript style guide.

Installation

$ npm install --save-dev tslint typescript tslint-config-ivweb

Usage

Once the tslint-config-ivweb package is installed, you can use it by specifying ivweb. create tslint.config and copy this.

{
  "extends": ["tslint-config-ivweb"],
  "linterOptions": {
    "exclude": ["**/node_modules/**"]
  },
  "rules": {
  // your own special config rule
  }
}

use in cli

./node_modules/.bin/tslint ./**/*.ts

use in vscode

  • install tslint plugin
  • use Cmd + or Ctrl +
  • set tslint.autoFixOnSave as true

use in webstorm

  • open setting
  • search tslint
  • set enable as true, and chose Search for tslint.json

/tslint-config-ivweb/

    Package Sidebar

    Install

    npm i tslint-config-ivweb

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    9.12 kB

    Total Files

    8

    Last publish

    Collaborators

    • stevenzwzhai