aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 06:41:43 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:37 +0800
commit74633126ceb5ad5e73c0c0ec6dc766594bb77ae6 (patch)
tree2ed54a7912613b2ff5f0ee048185a8fd30da8b5e
parent2fa5bb20287c26d404e2c0a372291ae5d9626888 (diff)
downloaddexon-sol-tools-74633126ceb5ad5e73c0c0ec6dc766594bb77ae6.tar
dexon-sol-tools-74633126ceb5ad5e73c0c0ec6dc766594bb77ae6.tar.gz
dexon-sol-tools-74633126ceb5ad5e73c0c0ec6dc766594bb77ae6.tar.bz2
dexon-sol-tools-74633126ceb5ad5e73c0c0ec6dc766594bb77ae6.tar.lz
dexon-sol-tools-74633126ceb5ad5e73c0c0ec6dc766594bb77ae6.tar.xz
dexon-sol-tools-74633126ceb5ad5e73c0c0ec6dc766594bb77ae6.tar.zst
dexon-sol-tools-74633126ceb5ad5e73c0c0ec6dc766594bb77ae6.zip
Add type information for the linter
-rw-r--r--packages/json-schemas/package.json2
-rw-r--r--packages/json-schemas/test/schema_test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json
index 89c0d25f7..87194d362 100644
--- a/packages/json-schemas/package.json
+++ b/packages/json-schemas/package.json
@@ -5,7 +5,7 @@
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"scripts": {
- "lint": "tslint src/*.ts test/*.ts",
+ "lint": "tslint --project . src/*.ts test/*.ts",
"test": "run-s clean build run_mocha",
"test:circleci": "yarn test",
"run_mocha": "mocha lib/test/**/*_test.js",
diff --git a/packages/json-schemas/test/schema_test.ts b/packages/json-schemas/test/schema_test.ts
index 30f6c4ad1..653f70852 100644
--- a/packages/json-schemas/test/schema_test.ts
+++ b/packages/json-schemas/test/schema_test.ts
@@ -970,4 +970,4 @@ describe('Schema', () => {
validateAgainstSchema(testCases, txDataSchema, shouldFail);
});
});
-});
+}); // tslint:disable:max-file-line-count