0.2.0 • Published 4 years ago

@pamls/tslint-config v0.2.0

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
4 years ago

ESLint Configuration for TypeScript

Installation

npm i --save-dev @pamls/tslint-config

Integration in TypeScript project

Install tslint and tslint configuration

npm i --save-dev tslint @pamls/tslint-config

Add TSLint configuration

Add a .tslintrc.json file in the root directory of the project

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

Run the linter

tslint -c .tslintrc.json src/**/*.ts test/**/*.ts