0.0.3 • Published 5 years ago

@webcomputing/tslint-config-webcomputing v0.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 years ago

TSLint Configuration Web Computing

Installation

npm i tslint-config-webcomputing --save-dev

Usage

Add the following config in your tslint.json file, to extend from our basic configuration:

{
  "extends": "@webcomputing/tslint-config-webcomputing"
}

For angular workspaces, we recommend to extend from tslint-angular.jsonfile

{
  "extends": "@webcomputing/tslint-config-webcomputing/tslint-angular"
}

Visual Studio Code

The popular VSCode linting extension TSLint isn't able to support rules that need typing, e.g. no-floating-promises or use-strict-boolean and is hence deprecated.

Please make sure you use the new extension TSLint along with tslint-language-service.