-
- Downloads
Add tslint
Showing
- package.json 5 additions, 2 deletionspackage.json
- src/api/controllers/collect.ts 3 additions, 3 deletionssrc/api/controllers/collect.ts
- src/api/controllers/data.ts 4 additions, 4 deletionssrc/api/controllers/data.ts
- src/api/router-v1.ts 5 additions, 5 deletionssrc/api/router-v1.ts
- src/boot.ts 10 additions, 10 deletionssrc/boot.ts
- src/core/aggregate.spec.ts 12 additions, 12 deletionssrc/core/aggregate.spec.ts
- src/core/aggregate.ts 5 additions, 5 deletionssrc/core/aggregate.ts
- src/core/server.ts 11 additions, 15 deletionssrc/core/server.ts
- src/core/source.ts 4 additions, 6 deletionssrc/core/source.ts
- src/core/transformer.ts 6 additions, 8 deletionssrc/core/transformer.ts
- src/util/hash.spec.ts 27 additions, 27 deletionssrc/util/hash.spec.ts
- src/util/hash.ts 7 additions, 9 deletionssrc/util/hash.ts
- test/global.ts 1 addition, 1 deletiontest/global.ts
- tslint.json 9 additions, 0 deletionstslint.json
... | @@ -7,7 +7,8 @@ | ... | @@ -7,7 +7,8 @@ |
"prestart": "tsc", | "prestart": "tsc", | ||
"start": "node build/src/boot", | "start": "node build/src/boot", | ||
"pretest": "tsc", | "pretest": "tsc", | ||
"test": "mocha" | "test": "mocha", | ||
"lint": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts" | |||
}, | }, | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
... | @@ -40,6 +41,8 @@ | ... | @@ -40,6 +41,8 @@ |
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"chai": "^3.5.0", | "chai": "^3.5.0", | ||
"mocha": "^3.0.2" | "mocha": "^3.0.2", | ||
"tslint": "^3.14.0", | |||
"tslint-stylish": "^2.1.0-beta" | |||
} | } | ||
} | } |
tslint.json
0 → 100644
Please register or sign in to comment