add tslint
This commit is contained in:
parent
5e3e83f50c
commit
829bcd6c3b
2 changed files with 10 additions and 1 deletions
|
@ -10,7 +10,8 @@
|
|||
"start": "node ./dist/index.js",
|
||||
"postinstall": "typings install",
|
||||
"build": "tsc",
|
||||
"test": "npm run build && nsp check"
|
||||
"test": "npm run build && nsp check",
|
||||
"lint": "tslint src/**/*.ts"
|
||||
},
|
||||
"engines": {
|
||||
"node": "6.9.4"
|
||||
|
@ -43,6 +44,7 @@
|
|||
"mocha": "=3.2.0",
|
||||
"nsp": "=2.6.2",
|
||||
"supertest": "=3.0.0",
|
||||
"tslint": "=4.4.2",
|
||||
"typescript": "=2.1.6",
|
||||
"typings": "=2.1.0"
|
||||
}
|
||||
|
|
7
tslint.json
Normal file
7
tslint.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"extends": "tslint:recommended",
|
||||
"rules": {
|
||||
"quotemark": [true, "single"],
|
||||
"trailing-comma": [false]
|
||||
}
|
||||
}
|
Reference in a new issue