From 955fe834eb8ec8c47de46b0d39ac004aaf4e4f81 Mon Sep 17 00:00:00 2001 From: Jan Lohage Date: Mon, 3 Sep 2018 16:16:04 +0200 Subject: [PATCH 1/2] fix lint error --- types/tests.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/types/tests.ts b/types/tests.ts index 3d592c52..cad50f38 100644 --- a/types/tests.ts +++ b/types/tests.ts @@ -88,7 +88,6 @@ actOnDefault(hook1, hook2, hook3, hook4); // $ExpectType Hook actOnDispatch(hook1, hook2, hook3, hook4); - // $ExpectType Hook alterItems(rec => { delete rec.password; From 95e8d524df2e46e00967b0028a0e7a67699fc928 Mon Sep 17 00:00:00 2001 From: Jan Lohage Date: Mon, 3 Sep 2018 16:16:37 +0200 Subject: [PATCH 2/2] add linting to `npm test` script for CI --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c012065c..e8fc4e72 100755 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lint:types": "dtslint types/", "mocha": "mocha --opts mocha.opts", "coverage": "istanbul cover node_modules/mocha/bin/_mocha -- --opts mocha.opts", - "test": "npm run lint && npm run coverage" + "test": "npm run lint && npm run lint:types && npm run coverage" }, "semistandard": { "env": [