From 5b60ad09b52253dcef9298f560c6a7a14ddcbf80 Mon Sep 17 00:00:00 2001 From: Bucky Maler Date: Sat, 23 Oct 2021 23:49:10 -0500 Subject: [PATCH] fix lint warnings --- libs/nuxt/src/migrations/update-11.0.0/update-11.0.0.ts | 1 - libs/vue/src/migrations/update-10.0.0/update-10.0.0.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/nuxt/src/migrations/update-11.0.0/update-11.0.0.ts b/libs/nuxt/src/migrations/update-11.0.0/update-11.0.0.ts index 7d84426a..085862ee 100644 --- a/libs/nuxt/src/migrations/update-11.0.0/update-11.0.0.ts +++ b/libs/nuxt/src/migrations/update-11.0.0/update-11.0.0.ts @@ -2,7 +2,6 @@ import { chain, Rule } from '@angular-devkit/schematics'; import { addDepsToPackageJson, readWorkspace, - updateJsonInTree, updatePackagesInPackageJson, } from '@nrwl/workspace'; import * as path from 'path'; diff --git a/libs/vue/src/migrations/update-10.0.0/update-10.0.0.ts b/libs/vue/src/migrations/update-10.0.0/update-10.0.0.ts index cced8612..730450a2 100644 --- a/libs/vue/src/migrations/update-10.0.0/update-10.0.0.ts +++ b/libs/vue/src/migrations/update-10.0.0/update-10.0.0.ts @@ -25,6 +25,7 @@ function updateJestConfig(projectRoot: string) { if (!hasGlobals) { return addPropertyToJestConfig( + // eslint-disable-next-line @typescript-eslint/no-explicit-any tree as any, `${projectRoot}/${jestConfig}`, 'globals', @@ -32,6 +33,7 @@ function updateJestConfig(projectRoot: string) { ); } else { return addPropertyToJestConfig( + // eslint-disable-next-line @typescript-eslint/no-explicit-any tree as any, `${projectRoot}/${jestConfig}`, 'globals.vue-jest',