From bf6a3ae7e8bd0c260df7fc47a4bc850e602d4918 Mon Sep 17 00:00:00 2001 From: Wenjun Zhou <176547141@qq.com> Date: Tue, 12 May 2020 16:12:58 +0800 Subject: [PATCH] use eslint-plugin and parser 2.31.0 & fix lint issue https://github.com/typescript-eslint/typescript-eslint/issues/2009 https://github.com/typescript-eslint/typescript-eslint/pull/2010 --- src/PatientTestsApi/Test/Services/LoggingCollection.spec.ts | 2 +- src/PatientTestsApi/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PatientTestsApi/Test/Services/LoggingCollection.spec.ts b/src/PatientTestsApi/Test/Services/LoggingCollection.spec.ts index a99f7a8..66b6d14 100644 --- a/src/PatientTestsApi/Test/Services/LoggingCollection.spec.ts +++ b/src/PatientTestsApi/Test/Services/LoggingCollection.spec.ts @@ -1,5 +1,5 @@ import { ICollection } from "../../Services/ICollection"; -import { mock, anything, instance, when, capture, verify } from "ts-mockito"; +import { mock, anything, instance, when, capture } from "ts-mockito"; import { InsertOneWriteOpResult } from "mongodb"; import { IAppInsightsService } from "../../Services/app-insights/app-insights-service"; import { LoggingCollection } from "../../Services/LoggingCollection"; diff --git a/src/PatientTestsApi/package.json b/src/PatientTestsApi/package.json index e7a7811..b462876 100644 --- a/src/PatientTestsApi/package.json +++ b/src/PatientTestsApi/package.json @@ -18,8 +18,8 @@ "@types/mongodb": "^3.5.16", "@types/node": "^13.13.5", "@types/uuid": "^7.0.3", - "@typescript-eslint/eslint-plugin": "^2.31.0", - "@typescript-eslint/parser": "^2.31.0", + "@typescript-eslint/eslint-plugin": "2.31.0", + "@typescript-eslint/parser": "2.31.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "eslint": "^6.8.0",