File tree Expand file tree Collapse file tree 6 files changed +21
-5
lines changed
Expand file tree Collapse file tree 6 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ tsconfig.json
2020tsconfig.test.json
2121tsfmt.json
2222tslint.json
23+ tslint.test.json
2324typings.json
2425webpack.config.js
2526yarn.lock
Original file line number Diff line number Diff line change 11// Place your settings in this file to overwrite default and user settings.
22{
3- "typescript.tsdk" : " node_modules/typescript/lib"
3+ "typescript.tsdk" : " node_modules/typescript/lib" ,
4+ "tslint.configFile" : " tslint.test.json"
45}
Original file line number Diff line number Diff line change 2424
2525- Update TypeScript Compiler Options (see #38 ).
2626
27+ - Enforce TSLint rules (see #39 ).
28+
2729- Update dev dependencies to latest version.
2830
2931### [ v0.0.5] ( https://github.com/RobotlegsJS/RobotlegsJS-Phaser-SignalCommandMap/releases/tag/0.0.5 ) - 2017-09-26
Original file line number Diff line number Diff line change 88 "test" : " karma start --single-run" ,
99 "mocha" : " mocha test/**/*.test.ts --require ts-node/register" ,
1010 "autoformat" : " prettier --config .prettierrc --write {src,test}/**/*.ts" ,
11- "tslint-check" : " tslint-config-prettier-check ./tslint.json" ,
11+ "tslint-check:src" : " tslint-config-prettier-check ./tslint.json" ,
12+ "tslint-check:test" : " tslint-config-prettier-check ./tslint.test.json" ,
13+ "tslint:src" : " tslint --project tsconfig.json" ,
14+ "tslint:test" : " tslint --config tslint.test.json --project tsconfig.test.json" ,
15+ "tslint" : " npm run tslint-check:src && npm run tslint-check:test && npm run tslint:src && npm run tslint:test" ,
1216 "clean-up" : " rimraf .nyc_output && rimraf coverage && rimraf lib && rimraf dev" ,
1317 "compile:src" : " tsc -d" ,
1418 "compile:test" : " tsc -p tsconfig.test.json -d" ,
1519 "prepare" : " npm run clean-up && npm run compile:src" ,
1620 "prepublishOnly" : " publish-please guard" ,
17- "publish-please" : " npm run autoformat && npm run clean-up && npm run test && publish-please"
21+ "publish-please" : " npm run tslint && npm run autoformat && npm run clean-up && npm run test && publish-please"
1822 },
1923 "repository" : {
2024 "type" : " git" ,
Original file line number Diff line number Diff line change 4848 "no-switch-case-fall-through" : false ,
4949 "no-this-assignment" : false ,
5050 "no-unused-expression" : true ,
51- "no-unused-variable" : true ,
52- "no-unreachable" : true ,
5351 "no-use-before-declare" : true ,
5452 "no-var-keyword" : true ,
5553 "object-literal-sort-keys" : true ,
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : [
3+ " ./tslint.json"
4+ ],
5+ "rules" : {
6+ "no-implicit-dependencies" : false ,
7+ "no-reference" : false ,
8+ "no-submodule-imports" : false
9+ }
10+ }
You can’t perform that action at this time.
0 commit comments