aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2017-10-24 01:20:42 +0800
committerGitHub <noreply@github.com>2017-10-24 01:20:42 +0800
commitfab2fa9adfe95db0b6f203efb926d52b6c9e14d4 (patch)
treeb3a28da4eab1c02c24c5f7d73198d3106cbb340d
parent32e8e52ad7d0a73bff709ea1a06907bbf920642c (diff)
parentb3d8cefbe61f49d8d9a3993a9c8d6338f052d9af (diff)
downloaddexon-sol-tools-fab2fa9adfe95db0b6f203efb926d52b6c9e14d4.tar
dexon-sol-tools-fab2fa9adfe95db0b6f203efb926d52b6c9e14d4.tar.gz
dexon-sol-tools-fab2fa9adfe95db0b6f203efb926d52b6c9e14d4.tar.bz2
dexon-sol-tools-fab2fa9adfe95db0b6f203efb926d52b6c9e14d4.tar.lz
dexon-sol-tools-fab2fa9adfe95db0b6f203efb926d52b6c9e14d4.tar.xz
dexon-sol-tools-fab2fa9adfe95db0b6f203efb926d52b6c9e14d4.tar.zst
dexon-sol-tools-fab2fa9adfe95db0b6f203efb926d52b6c9e14d4.zip
Merge pull request #196 from 0xProject/bmillman_fix_tslint
Fix lint script to analyze nested files
-rw-r--r--package.json2
-rw-r--r--test/utils/rpc.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index d3b040c41..159d8158a 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"postpublish": "run-s release docs:json upload_docs_json",
"release": "publish-release --assets _bundles/index.js,_bundles/index.min.js --tag $(git describe --tags) --owner 0xProject --repo 0x.js",
"upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json",
- "lint": "tslint src/*.ts test/*.ts",
+ "lint": "tslint src/**/*.ts test/**/*.ts",
"test": "run-s clean test:commonjs",
"test:umd": "./scripts/test_umd.sh",
"test:coverage": "nyc npm run test --all",
diff --git a/test/utils/rpc.ts b/test/utils/rpc.ts
index 436e96423..f28a85340 100644
--- a/test/utils/rpc.ts
+++ b/test/utils/rpc.ts
@@ -41,7 +41,7 @@ export class RPC {
uri: `http://${this.host}:${this.port}`,
body: payload,
headers: {
- 'content-type': 'application/json'
+ 'content-type': 'application/json',
},
};
const bodyString = await request(opts);