From 04f34cddeed5e66edb166ac2e4f57929d2da2b68 Mon Sep 17 00:00:00 2001 From: Em Zhan Date: Thu, 18 Aug 2022 09:16:41 -0500 Subject: [PATCH] refactor: fix eslint warnings/errors --- playground/transform-plugin/index.js | 1 - playground/transform-plugin/vite.config.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/playground/transform-plugin/index.js b/playground/transform-plugin/index.js index 8e71251af61c5b..ac3da49609d222 100644 --- a/playground/transform-plugin/index.js +++ b/playground/transform-plugin/index.js @@ -1,3 +1,2 @@ // 'TRANSFORM_COUNT' is injected by the transform plugin -// eslint-disable-next-line no-undef document.getElementById('transform-count').innerHTML = TRANSFORM_COUNT diff --git a/playground/transform-plugin/vite.config.js b/playground/transform-plugin/vite.config.js index 18cbcfffbe75d8..0b9ddb97c34304 100644 --- a/playground/transform-plugin/vite.config.js +++ b/playground/transform-plugin/vite.config.js @@ -1,5 +1,5 @@ +const { resolve } = require('node:path') const { normalizePath } = require('vite') -const { resolve } = require('path') let transformCount = 1