Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.21 KB

README_EN.md

File metadata and controls

58 lines (40 loc) · 1.21 KB

tslint-config-finger

It is used by Finger,for checking TypeScript code.

中文文档: zh

Install

Install packages

# npm
npm install tslint tslint-config-finger --save-dev

## OR

#yarn
yarn add tslint tslint-config-finger --dev

Init project

    tslint --init

After running above script, we will find a tslint.json file in root directory of your project.

Your tslint.json may be same as below:

    {
        "defaultSeverity": "error",
        "extends": ["tslint:recommend"],
        "jsRules": {},
        "rules": {}
    }

Basic Usage

Change your tslint.json file as below:

    {
        "defaultSeverity": "error",
        "extends": ["tslint-config-finger"],
        "jsRules": {},
        "rules": {}
    }

That's all, thanks for using!