@marblecore/tslint-configuration
v6.1.3
Published
Contains the TSLint configuration in line with our coding style guide.
Downloads
19
Keywords
Readme
TSLint Configuration
This project contains the TSLint configuration template which is in line with our coding style guide. A full list of all rules can be found here.
The version of this package indicates the minimal required version of TSLint.
Usage
Add this package to your project:
# From npm npm install @marblecore/tslint-configuration --save-dev # From repository npm install git+ssh://[email protected]:marblecore/tslint-configuration.git --save-dev
Install TSLint to your project:
npm install tslint --save-dev
Create a file
tslint.json
at the root of your project and insert the following code:{ "extends": "@marblecore/tslint-configuration" }
Execute linter:
tslint -c tslint.json file.ts