aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2017-10-20 03:02:51 +0800
committerBrandon Millman <brandon.millman@gmail.com>2017-10-20 03:03:49 +0800
commitb3d8cefbe61f49d8d9a3993a9c8d6338f052d9af (patch)
treeb3a28da4eab1c02c24c5f7d73198d3106cbb340d
parent32e8e52ad7d0a73bff709ea1a06907bbf920642c (diff)
downloaddexon-0x-contracts-b3d8cefbe61f49d8d9a3993a9c8d6338f052d9af.tar.gz
dexon-0x-contracts-b3d8cefbe61f49d8d9a3993a9c8d6338f052d9af.tar.zst
dexon-0x-contracts-b3d8cefbe61f49d8d9a3993a9c8d6338f052d9af.zip
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);