From b3d8cefbe61f49d8d9a3993a9c8d6338f052d9af Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Thu, 19 Oct 2017 12:02:51 -0700 Subject: Fix lint script to analyze nested files --- package.json | 2 +- test/utils/rpc.ts | 2 +- 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); -- cgit v1.2.3